# Disable Temporary Headers

**URL:** <https://community.postman.com/t/disable-temporary-headers/5271>\
**Category:** Help Hub\
**Tags:** header\
**Created:** [May 3, 2019, 11:42am UTC](https://community.postman.com/t/disable-temporary-headers/5271 "2019-05-03T11:42:54Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![index.xp](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/index.xp/32/3264_2.png) [@index.xp](https://community.postman.com/u/index.xp)\
**Post date:** [November 18, 2019, 6:40pm UTC](https://community.postman.com/t/disable-temporary-headers/5271/61 "2019-11-18T18:40:55Z")

</div>

For me, Postman is maintaining the atlassian.xsrf.token and JSESSIONID which makes it impossible for me to simulate a “logged off” user… I’d have to wait the session expire on the server to test my code!!!

---

<div class="post-metadata">

**Author:** ![tkachukviktor5](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/tkachukviktor5/32/992_2.png) [@tkachukviktor5](https://community.postman.com/u/tkachukviktor5)\
**Post date:** [November 25, 2019, 9:51am UTC](https://community.postman.com/t/disable-temporary-headers/5271/62 "2019-11-25T09:51:00Z")

</div>

Just wanted to link the two things together, here is the app-support ticket: [https://github.com/postmanlabs/postman-app-support/issues/2689](https://github.com/postmanlabs/postman-app-support/issues/2689)

---

<div class="post-metadata">

**Author:** ![LiamC](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@LiamC](https://community.postman.com/u/LiamC)\
**Post date:** [November 25, 2019, 12:59pm UTC](https://community.postman.com/t/disable-temporary-headers/5271/63 "2019-11-25T12:59:03Z")

</div>

[Link Here](https://github.com/postmanlabs/postman-app-support/issues/2689)

Your link didn’t work for me. I tracked it down though.

---

<div class="post-metadata">

**Author:** ![martin.graney](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@martin.graney](https://community.postman.com/u/martin.graney)\
**Post date:** [November 26, 2019, 10:37am UTC](https://community.postman.com/t/disable-temporary-headers/5271/64 "2019-11-26T10:37:20Z")

</div>

This is a ridiculous decision.

How are we meant to test different caching strategies if Postman always sends a _temporary_ `cache-control` header that disables caching?  
`JQuery.ajax()` etc do not add this _temporary_ header when loading a resource, even if the browser does so when performing a direct, _address bar_, request.

@girish.jaiswal has a work around, but it is couinterintuitive to add an empty header to remove the _temporary_ header. This should just work out of the box.

---

<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:** [November 26, 2019, 10:48am UTC](https://community.postman.com/t/disable-temporary-headers/5271/65 "2019-11-26T10:48:25Z")

</div>

Hey @martin.graney,

The `cache-control` header can be disabled from the settings:

![34](https://us1.discourse-cdn.com/getpostman/original/3X/2/a/2a0269ce95fdfdc8623c3fcaa1638eafdee63247.png)

---

<div class="post-metadata">

**Author:** ![david.downey](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/david.downey/32/3396_2.png) [@david.downey](https://community.postman.com/u/david.downey)\
**Post date:** [December 4, 2019, 9:10pm UTC](https://community.postman.com/t/disable-temporary-headers/5271/66 "2019-12-04T21:10:11Z")

</div>

I am having trouble sending requests to a third party admin endpoint. If copy out the curl and remove all the extra headings it works. Can we have a toggle to remove all temporary headers? It rather defeats the purpose of using your tool if I have to copy the request and curl it instead. ☹

---

<div class="post-metadata">

**Author:** ![dnoordzij](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@dnoordzij](https://community.postman.com/u/dnoordzij)\
**Post date:** [December 5, 2019, 5:44pm UTC](https://community.postman.com/t/disable-temporary-headers/5271/67 "2019-12-05T17:44:02Z")

</div>

I downloaded POSTMAN to have a client which is able to meticulously specify my request. Now I see it’s adding stuff under the hood automatically. I can see why it’s useful, but please consider an option to disable the default headers so we can troubleshoot our API’s.

---

<div class="post-metadata">

**Author:** ![jeffpc1993](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@jeffpc1993](https://community.postman.com/u/jeffpc1993)\
**Post date:** [December 10, 2019, 11:00am UTC](https://community.postman.com/t/disable-temporary-headers/5271/68 "2019-12-10T11:00:57Z")

</div>

I don’t understand what you guys were thinking when you started adding temporary headers to all curls. It’s super annoying sending curl requests to other people now. And time is often wasted debugging why a curl is not working where the cause is always a temporary header like host or content length.

---

<div class="post-metadata">

**Author:** ![Kurmavatar](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kurmavatar/32/3026_2.png) [@Kurmavatar](https://community.postman.com/u/Kurmavatar)\
**Post date:** [December 10, 2019, 12:06pm UTC](https://community.postman.com/t/disable-temporary-headers/5271/69 "2019-12-10T12:06:16Z")

</div>

Hi @jeffpc1993 You should be able to share the Curl codes without any temporary headers using the - “[New Code generation mode](https://support.getpostman.com/hc/en-us/articles/360036521074)”

---

<div class="post-metadata">

**Author:** ![shuvozula](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@shuvozula](https://community.postman.com/u/shuvozula)\
**Post date:** [December 17, 2019, 5:28am UTC](https://community.postman.com/t/disable-temporary-headers/5271/70 "2019-12-17T05:28:56Z")

</div>

This is very annoying!!! I have disabled the above header settings and STILL there are Postman headers appearing. I have recreated the connection painstakingly with all the parameters and still those Postman headers are being sent across. Sorry, but this tool has become a lot worse since I started using it. Switching to Insomnia

---

<div class="post-metadata">

**Author:** ![xpac](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/xpac/32/3472_2.png) [@xpac](https://community.postman.com/u/xpac)\
**Post date:** [December 18, 2019, 11:40am UTC](https://community.postman.com/t/disable-temporary-headers/5271/71 "2019-12-18T11:40:15Z")

</div>

Yay, I’ll join the line of people who just discovered why their API calls fail, because Postman adds some random stuff.  
Seriously, no.  
I don’t understand how you got the idea to make this a default, non-changeable behaviour, and I absolutely don’t understand how this issue can exist for more than half a year now, and nobody was able to include a “disable all magic crap” checkbox.  
As a developer, I also don’t see why you “need to know more about this” and “understand the use cases”. Postman is a tool. As such, it should not make assumptions and guesses about what might work best, but just do what it has been told to. Adding a switch to turn that behavior off can’t be such a big deal (unless your code is a mess).

I thank you for offering this tool for free, it has helped me a lot in the past, but now has cost me many hours trying to figure out what was wrong, and as I see no intention here to fix this issue, I’ll have to leave Postman.

Thanks for those who mentioned Insomnia!

---

<div class="post-metadata">

**Author:** ![goes](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/goes/32/3516_2.png) [@goes](https://community.postman.com/u/goes)\
**Post date:** [December 25, 2019, 12:55am UTC](https://community.postman.com/t/disable-temporary-headers/5271/72 "2019-12-25T00:55:10Z")

</div>

Don’t add stuff I don’t want. I am a developer.

---

<div class="post-metadata">

**Author:** ![nicolas.baptista](https://avatars.discourse-cdn.com/v4/letter/n/85e7bf/32.png) [@nicolas.baptista](https://community.postman.com/u/nicolas.baptista)\
**Post date:** [December 27, 2019, 2:13pm UTC](https://community.postman.com/t/disable-temporary-headers/5271/73 "2019-12-27T14:13:05Z")

</div>

+1, we need to create another request to bypass the old headers, that’s stupid, why can’t we delete them ?

---

<div class="post-metadata">

**Author:** ![mexxmann\_intuit](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@mexxmann\_intuit](https://community.postman.com/u/mexxmann_intuit)\
**Post date:** [December 31, 2019, 7:36pm UTC](https://community.postman.com/t/disable-temporary-headers/5271/74 "2019-12-31T19:36:26Z")

</div>

+1. I wasted a lot of time not realizing Postman was adding other cookies to my request. The scenario is the following: I was testing a request on this url:  
`https://model.api.mycompany.com/v1/blah-api`

I sent some cookies with the request to test the authentication handshaking.

Turns out postman had access to cookies from the parent domain (captured from my browser maybe or from other requests? not sure but I never set these) on the PARENT domain `mycompany.com` and was sending them in the “temporary headers” section. These cookies were interfering with or hiding the cookies I was trying to send.

I figured out that you can go to the “Manage cookies” dialog and delete cookies for each domain. However, my company has a lot of domains and subdomains so this list is very large. In this case, the domain is about half way down a list of like 30 domains. That means every time I do a request, I have to scroll down and search for this domain to see if any cookies are remembered. I can’t seem to find a way to do any of the following to make it easier:

- Stop storing or sending cookies other than what I’ve specified in the request
- Stop remembering cookies or at least stop remembering for certain domains
- Delete all cookies from all domains
- A search function to find the domain in the “Manage cookies” window so I can least find this domain easier
- Stop sending temporary headers, the subject of this thread 😃

---

<div class="post-metadata">

**Author:** ![GodsMailer](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@GodsMailer](https://community.postman.com/u/GodsMailer)\
**Post date:** [January 2, 2020, 2:24am UTC](https://community.postman.com/t/disable-temporary-headers/5271/75 "2020-01-02T02:24:52Z")

</div>

Just wanted to add my two cents here.

Freaking disable automatically adding headers!

I’ve found that useful approximately uh, 3 times. Out of 200+ requests. I was forced to use curl and write things the hard way out.

If I’m trying to test some API, I don’t want to find out that the only reason my API was working/broken in postman is because of invisible headers I didn’t know was being sent. I wasted 2 days on this when I first discovered this “feature” due to the unreliability of the data I had to utilize, which would randomly fail. I was new to http at the time which is why it took me so long.

You’re trying to screw over inexperienced developers? Why?

Freaking make this optional! Even as a “default headers” which can be expanded below “Headers” would be handy!

Not once did I ever thank Postman for sending these headers, when I’m a developer trying to send valid http requests while controlling every single aspect it was not fun at all to discover I can’t control this with Postman itself, and it hides itself. Almost maliciously.

I’m leaving postman installed for one reason, and one reason only. I’m hoping this insanity will be fixed. Because I can’t use Postman otherwise for development.

Meanwhile, insomnia sounds like it’s going to be handy… Not as friendly a user interface maybe, but definitely not trying to screw its own users over by intentionally corrupting the data.

Btw, whats with Postman starting to get bloated with clutter? It used to be a simple tool…

---

<div class="post-metadata">

**Author:** ![ChrDr](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@ChrDr](https://community.postman.com/u/ChrDr)\
**Post date:** [January 2, 2020, 10:41am UTC](https://community.postman.com/t/disable-temporary-headers/5271/76 "2020-01-02T10:41:19Z")

</div>

![image](https://us1.discourse-cdn.com/getpostman/original/2X/d/d2d4ea073d32116f9949eb8ad4a3f5fe2ab98424.png)

Oh, oh, it sends the unresolved “{{access\_token}}” string to the API 😭

Would be amazing to let users disable/enable Temporary Headers.

---

<div class="post-metadata">

**Author:** ![muhammadalinazarov](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@muhammadalinazarov](https://community.postman.com/u/muhammadalinazarov)\
**Post date:** [January 9, 2020, 10:43am UTC](https://community.postman.com/t/disable-temporary-headers/5271/77 "2020-01-09T10:43:38Z")

</div>

Trust me. I don’t need this header. I am a developer. LET ME DISABLE IT!

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

---

<div class="post-metadata">

**Author:** ![andi.scharfstein](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/andi.scharfstein/32/3556_2.png) [@andi.scharfstein](https://community.postman.com/u/andi.scharfstein)\
**Post date:** [January 10, 2020, 3:11pm UTC](https://community.postman.com/t/disable-temporary-headers/5271/78 "2020-01-10T15:11:33Z")

</div>

I understand that it may be difficult to change the current behavior, but please prioritize this, for the love of all that’s holy! I need to be able to test how my application reacts to invalid input - I don’t need to be “corrected” by the tool I am using to generate said input and to be told that this is not what I should want after all.

I am reminded of the venerable Clippy assistant: “It looks like you are trying to generate invalid requests, let me tell you what you should be really doing instead!”

---

<div class="post-metadata">

**Author:** ![peterpla](https://avatars.discourse-cdn.com/v4/letter/p/ee7513/32.png) [@peterpla](https://community.postman.com/u/peterpla)\
**Post date:** [January 12, 2020, 12:35am UTC](https://community.postman.com/t/disable-temporary-headers/5271/79 "2020-01-12T00:35:52Z")

</div>

+2 days wasted

… before discovering Google App Engine was rejecting Postman’s HTTP requests because of … Postman, not my code.

Postman now is an extremely heavyweight curl tutorial for me, clicking Code to see the equivalent curl command that will actually work, where Postman does not. Thanks I guess?

---

<div class="post-metadata">

**Author:** ![tmccann](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/tmccann/32/3550_2.png) [@tmccann](https://community.postman.com/u/tmccann)\
**Post date:** [January 22, 2020, 7:50pm UTC](https://community.postman.com/t/disable-temporary-headers/5271/80 "2020-01-22T19:50:17Z")

</div>

Hey everyone.  
Take a look at this change we just released in our Canary builds.

We welcome any feedback you have on it.

> [@Live Preview on Canary](https://community.postman.com/t/live-preview-on-canary/10276):
>
> Hello Post People! So we have another awesome Canary release we wanted to let you know about. So what’s new? Postman makes it easy to make requests by adding headers that are needed in general and ones that browsers and other popular http clients send. Last year, we made them visible in the form of temporary headers. However, we heard from you, our users, that this had created some confusion. So we are introducing something to help with that, known as Live Preview. We will now show you hea…

[Previous page](https://community.postman.com/t/disable-temporary-headers/5271.md?page=3)

[Next page](https://community.postman.com/t/disable-temporary-headers/5271.md?page=5)
