Location parameter missing from postman response header

there is a location parameter in the response header as shown in photo:

but when i hit api on web / desktop postman, the location parameter is missing


can anyone guide me why this is happening

Hey @cryosat-astronaut-99,

Welcome to the Postman Community! :postman:

From the image, that looks like response that hasn’t been redirected yet (302 Status Code), Postman will automatically redirect the requests, that’s the reason you are seeing that as a 200 Status Code.

In the ⚙️ > Settings > General menu option, you can disable this from happening with the toggle (The one at the bottom of the image).

With that disabled, are you seeing the same response/headers?

hy @danny-dainton thanks for responding
i have done disabling “auto follow redirect”
still m seeing the same response 200 OK
can u suggest anything other ?
[/quote]

I’m currently at a disadvantage as I cannot see what you have done or what’s in front of you. :cry:

Could you provide some visual examples of what is happening now?

Have you also checked the Postman Console to see if that redirect request is seen in there?

This is an example using the https://httpbin.org/redirect-to endpoint to show the requests in the console:

Here is the same request with the toggle disabled:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.