Saved Request is automatically adding an "=" to the end of the request URL

No luck digging through documentation and support for an answer to this, so Iā€™m asking for help.

Send the following GET request:
http://www.reddit.com/r/cocktails/.json?test

Looking at the Postman Console, youā€™ll see the request is
GET http://www.reddit.com/r/cocktails/.json?test

Now, save that request in Postman

And send the saved request.

Looking at the Postman Console, youā€™ll see the request is
GET http://www.reddit.com/r/cocktails/.json?test=

The saved request is automatically adding the equals sign (=).

I get that itā€™s imposing the query parameterā€™s value, but this breaks a third-party API Iā€™m working with.

Unfortunately I donā€™t have control of the third-party API and Iā€™d like to store all the requests into a Postman Collection.

Thoughts?

1 Like

I think you are running into a similar issue that Iā€™m facing (Bug: Request URI mutation when saving). Iā€™ve resorted to saving the request and then copying over all the parameters into a new ā€˜unsavedā€™ request when I need to use it.

Iā€™ve been playing around with the pre-request scripts a bit and I think you might be able to resolve this issue by passing in the tail value (test) as a string stored in a variable by the prerequest script.

That sounds oddly familiar. Iā€™ve been doing the same ā€œcopy & pasteā€ method for now, but itā€™s a B when you have to copy a bunch of stuff (body, authentication, etc.)

Iā€™ll continue to monitor your thread as well to see if this gets resolved.

Thanks for the heads up!

@ambr_amontalbano

I tried this with our latest version 6.0.9 and couldnā€™t reproduce this. Could you give this another try with the latest version?

Hi Kamalakannan,

I tried with the latest version and it doesnā€™t happen anymore.

Thank you,

1 Like

Just tried with v6.0.9 and it cannot reproduce. It is resolved. Thank you!

This problem still exists in version 10.23: I have multiple query parameters of which I only use one at a time. When I uncheck one and check another, a ā€œ=ā€ is automatically added, invalidating the request.