Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View postman request when redirects

Tags:

postman

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?

like image 559
Datha Avatar asked Apr 19 '18 11:04

Datha


People also ask

How do you check Postman redirects?

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.

How can I see my Postman request?

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.

How do I redirect URI in Postman?

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.


1 Answers

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

like image 123
jrc Avatar answered Oct 11 '22 14:10

jrc