# Adding a header in a pre-request script

**URL:** <https://community.postman.com/t/adding-a-header-in-a-pre-request-script/5373>\
**Category:** Help Hub\
**Created:** [May 9, 2019, 8:46pm UTC](https://community.postman.com/t/adding-a-header-in-a-pre-request-script/5373 "2019-05-09T20:46:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [May 9, 2019, 9:26pm UTC](https://community.postman.com/t/adding-a-header-in-a-pre-request-script/5373/2 "2019-05-09T21:26:28Z")

</div>

Hey @nmishkin

Welcome to the community 👋

There was a similar question posted a few days ago. Are you able to take a look through this and see if any of this helps you?

> [@Setting headers for entire collection/folder](https://community.postman.com/t/setting-headers-for-entire-collection-folder/708/21):
>
> Can you open Postman Console and check? View \> Show Postman Console or you can click the following icon: [image] Now, once you send the request you’ll see what all headers are actually going through along with your request like so: Also, The headers that are dynamically generated through the pre-request script will not be shown up as a part of the code that is generated.

---

_[View the full topic](https://community.postman.com/t/adding-a-header-in-a-pre-request-script/5373)._
