how do i change the post body before it reaches the server?
fiddler
Solution
Try this
if (oSession.uriContains("/myposturl")) {
if (oSession.HTTPMethodIs("POST")){
oSession["x-breakrequest"]="pause";
}
}
OnBeforeRequest
Problem
Trying to code my first fiddler script. How do i change the post body before it reaches the server? I mean, i fill the form, click submit, then pause to change what i want, and, finally, send to server. I found this script to change the response, but i want to change the request. ``` if (oSession.HostnameIs("www.bayden.com") && oSession.oResponse.headers.ExistsAndContains("Content-Type","text/html")){ oSession.utilDecodeResponse(); oSession.utilReplaceInResponse('<b>','<u>'); } ```