# Override "automatically follow redirects" for single requests

**URL:** <https://community.postman.com/t/override-automatically-follow-redirects-for-single-requests/6660>\
**Category:** Help Hub\
**Created:** [July 19, 2019, 12:57pm UTC](https://community.postman.com/t/override-automatically-follow-redirects-for-single-requests/6660 "2019-07-19T12:57:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrissbaumann](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/chrissbaumann/32/5521_2.png) [@chrissbaumann](https://community.postman.com/u/chrissbaumann)\
**Post date:** [July 19, 2019, 12:57pm UTC](https://community.postman.com/t/override-automatically-follow-redirects-for-single-requests/6660/1 "2019-07-19T12:57:41Z")

</div>

Hi all,

In the settings I´ve turned “automatically follow redirects” off, since this is what I need in 99 % of the cases.  
Now I have single requests, where I want to automatically follow the redirect, is there a solution to that, maybe something in the pre-request script?

Many thanks,  
Christian

---

<div class="post-metadata">

**Author:** ![richmhouse](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@richmhouse](https://community.postman.com/u/richmhouse)\
**Post date:** [March 16, 2021, 3:37pm UTC](https://community.postman.com/t/override-automatically-follow-redirects-for-single-requests/6660/2 "2021-03-16T15:37:33Z")

</div>

Did you find a way Christian?

---

<div class="post-metadata">

**Author:** ![chrissbaumann](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/chrissbaumann/32/5521_2.png) [@chrissbaumann](https://community.postman.com/u/chrissbaumann)\
**Post date:** [March 16, 2021, 3:50pm UTC](https://community.postman.com/t/override-automatically-follow-redirects-for-single-requests/6660/3 "2021-03-16T15:50:14Z")

</div>

No, Unfortunately not.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [March 16, 2021, 4:29pm UTC](https://community.postman.com/t/override-automatically-follow-redirects-for-single-requests/6660/4 "2021-03-16T16:29:11Z")

</div>

Hey @chrissbaumann 👋

Just wanted to confirm the question here as I wasn’t quite understanding it 😃

We have the "Automatically follow redirects” option in the general settings but also in the request settings tab.

![image](https://us1.discourse-cdn.com/getpostman/original/3X/4/5/45d2b5b894c1675e274b75e7e56fdefcf0e0a603.png)

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/9/b/9b0426accd9391897b59e8581b49554b15b91d6f.png)

Are those what you were previously using?

---

<div class="post-metadata">

**Author:** ![chrissbaumann](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/chrissbaumann/32/5521_2.png) [@chrissbaumann](https://community.postman.com/u/chrissbaumann)\
**Post date:** [March 16, 2021, 4:51pm UTC](https://community.postman.com/t/override-automatically-follow-redirects-for-single-requests/6660/5 "2021-03-16T16:51:02Z")

</div>

Hey Danny!

Didn’t know about the settings on the request itself.  
Those can be used to override the general settings for that request?

---

<div class="post-metadata">

**Author:** ![penguin-sama](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@penguin-sama](https://community.postman.com/u/penguin-sama)\
**Post date:** [December 15, 2023, 3:27am UTC](https://community.postman.com/t/override-automatically-follow-redirects-for-single-requests/6660/6 "2023-12-15T03:27:45Z")

</div>

Is it possible to do this in a pre-request script? I need to follow redirects for all but 1 call, so I want to have follow redirects turned on in settings but override it for 1 call in the pre-request script.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [December 15, 2023, 7:48am UTC](https://community.postman.com/t/override-automatically-follow-redirects-for-single-requests/6660/7 "2023-12-15T07:48:50Z")

</div>

Hey @penguin-sama 👋

It’s not currently possible to set that programmatically in the script sandbox for an individual request.

---

<div class="post-metadata">

**Author:** ![lunar-module-operat5](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/lunar-module-operat5/32/28415_2.png) [@lunar-module-operat5](https://community.postman.com/u/lunar-module-operat5)\
**Post date:** [September 3, 2024, 10:01pm UTC](https://community.postman.com/t/override-automatically-follow-redirects-for-single-requests/6660/8 "2024-09-03T22:01:39Z")

</div>

Is this a feature that is on the roadmap? It would be great to have the ability to override the general setting.
