Search code examples
httpfiddler

How can I encode post variables in Fiddler?


It is clearly to me that when I submit a simple form with :

a @ w+aaa

Actually what is being posted is :

enter image description here

html=a+%40+w%2Baaa (ignore the "html" word)

But when I post it via fiddler :

enter image description here

What is being submitted is a @ w+aaa ( the original raw string , obviously).

Question:

Can fiddler auto "encode" the variables so they will be sent as a+%40+w%2Baaa ?

Nb I know I can use the textwizard for this , but again , it is pretty annoying every time to open and paste values .


Solution

  • Fiddler's Composer doesn't automatically encode variables for you, and no, there's no way that it could reliably do so, since there's no way to tell whether a given = or & is a part of the value, or a delimiter between values.

    If you wanted, you could use the WebForms Inspector to compose the POST body; simply SHIFT+Click the Execute button and then use the WebForms Inspector to edit the body fields.