# Getting a variable from a POST response header that shows multiple redirects

**URL:** <https://community.postman.com/t/getting-a-variable-from-a-post-response-header-that-shows-multiple-redirects/29904>\
**Category:** Help Hub\
**Created:** [November 19, 2021, 12:43pm UTC](https://community.postman.com/t/getting-a-variable-from-a-post-response-header-that-shows-multiple-redirects/29904 "2021-11-19T12:43:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aerospace-candidate3](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@aerospace-candidate3](https://community.postman.com/u/aerospace-candidate3)\
**Post date:** [November 19, 2021, 12:43pm UTC](https://community.postman.com/t/getting-a-variable-from-a-post-response-header-that-shows-multiple-redirects/29904/1 "2021-11-19T12:43:23Z")

</div>

When I do my post method, there are 8 redirects. In the 7th redirect, I want to get data but instead it will always take it from the last 8th redirect. How do I get the location data from the 7th redirect?
