You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We do not support changing request body through scripts at the moment. A possible workaround for your use case is to use environment variables and keep base64 request body in the a variable. Then decode the base64 string from the environment in the pre-request script and use it as the request body. See the below screenshot for an example:
Request body:
Pre-request script:
Environment variables:
Closing this issue for now. If you are interested in mutating request body from pre-request script, we are tracking it in #4808.
I have a fiddler post request. In that the body is base64 string and there is an header "Fiddler-Encoding: base64".
Can i make same request through postman? I tried it but i not able to decode the string. Does postman has this feature like fiddler?
The text was updated successfully, but these errors were encountered: