How to automatically add headers to requests in a folder #8976
-
|
Hello, I have a family straightforward need: to have requests in a folder inherit some common set of headers. My main question is how can I do that? Secondary question: when I create folders, I can also specify headers on the folder itself (in the exact same way one would do on given request). However, the headers added to the folder aren't used by requests in the folder. This is true both for existing ones, as well as new ones and there's no button to add them or an option to allow inheritance (inheritance option seems to exist only for authentication). What's the purpose of defining headers on the folder if they don't apply to requests in that folder? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi, Folder-level headers in insomnia are designed to automatically apply to all requests within that folder. You don't need to add them manually to each request they should be included automatically. If you are not seeing them applied, try updating to the latest version of insomnia. You can also check the console to confirm the headers are being sent. |
Beta Was this translation helpful? Give feedback.
Hi, Folder-level headers in insomnia are designed to automatically apply to all requests within that folder. You don't need to add them manually to each request they should be included automatically.
If you are not seeing them applied, try updating to the latest version of insomnia. You can also check the console to confirm the headers are being sent.