# How to capture a query parameter from a redirect URL after a POST request?

**URL:** <https://community.postman.com/t/how-to-capture-a-query-parameter-from-a-redirect-url-after-a-post-request/81711>\
**Category:** Help Hub\
**Tags:** newman-project, authentication, json, redirect, postman-flows\
**Created:** [June 30, 2025, 1:48pm UTC](https://community.postman.com/t/how-to-capture-a-query-parameter-from-a-redirect-url-after-a-post-request/81711 "2025-06-30T13:48:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [June 30, 2025, 4:36pm UTC](https://community.postman.com/t/how-to-capture-a-query-parameter-from-a-redirect-url-after-a-post-request/81711/2 "2025-06-30T16:36:12Z")

</div>

How about if you go into your Postman settings and disable “Automatically follow redirects” in the general tab under headers.

Also this topic might be of use.

[Pre-request script to automate authorization code grant type - Ask the Experts and Postman Tips - Postman Community](https://community.postman.com/t/pre-request-script-to-automate-authorization-code-grant-type/45989/13)

---

_[View the full topic](https://community.postman.com/t/how-to-capture-a-query-parameter-from-a-redirect-url-after-a-post-request/81711)._
