I am using Postman to submit request. Server responds with
HTTP/1.0 302 Found
Location: https://services.****.com/*/***/ed36317f-8d77-4d62-9926-f9700bee9b6c
Server: ****
Connection: Keep-Alive
Content-Length: 0
Postman follows this redirect. I wish to see this new request in Postman console. Can someone tell me how I can view how Postman formed new request?
To run the redirect test request, make sure you have Automatically follow redirects toggled OFF under the general Postman app settings. To run the collection in the Postman app via collection runner, make sure you have the same Automatically follow redirects toggled OFF.
You can right click on the main Postman window > Inspect element. In the Network tab, you'll be able to see the request when you click the Send button. Clicking on the request in the Network tab will show you the response payload.
You can go to your postman settings and disable Automatically follow redirects then you can get the redirection URL with its code from the response headers. It should be in the Locations field in the headers.
In Settings, turn off "Automatically follow redirects".
Automatically follow redirects: Prevent requests that return a 300-series response from being automatically redirected.
from https://www.getpostman.com/docs/v6/postman/launching_postman/settings
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With