# Access Request Headers after hitting the request

**URL:** <https://community.postman.com/t/access-request-headers-after-hitting-the-request/36346>\
**Category:** Help Hub\
**Tags:** cookie, header, cookies, pre-request-script, request-params\
**Created:** [June 18, 2022, 10:50pm UTC](https://community.postman.com/t/access-request-headers-after-hitting-the-request/36346 "2022-06-18T22:50:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [June 19, 2022, 10:43pm UTC](https://community.postman.com/t/access-request-headers-after-hitting-the-request/36346/2 "2022-06-19T22:43:31Z")

</div>

Hi @maintenance-enginee2

Try;

```auto
console.log(pm.request.headers.get("Cookie"));

```

Example req;  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/9/9df75daa58faed7f54854c7b4a3a4c12a687cf98.png)

Output;  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/7/7418974aaf2c7b09f9cae5a09f381e9d9daf14ea.png)

---

_[View the full topic](https://community.postman.com/t/access-request-headers-after-hitting-the-request/36346)._
