# Setting value from Headers as environment variable

**URL:** <https://community.postman.com/t/setting-value-from-headers-as-environment-variable/25405>\
**Category:** Help Hub\
**Tags:** tests, variables, authentication\
**Created:** [July 1, 2021, 2:54pm UTC](https://community.postman.com/t/setting-value-from-headers-as-environment-variable/25405 "2021-07-01T14:54:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bpricilla](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/bpricilla/32/6511_2.png) [@bpricilla](https://community.postman.com/u/bpricilla)\
**Post date:** [July 1, 2021, 3:13pm UTC](https://community.postman.com/t/setting-value-from-headers-as-environment-variable/25405/2 "2021-07-01T15:13:49Z")

</div>

@docking-module-tech5 Welcome to the community 🥳 Please refer the similar post discussed here:

> [@Access Response Headers with Postman Tests](https://community.postman.com/t/access-response-headers-with-postman-tests/4654):
>
> Hi, Is there a way to access the Response Headers with a Postman test? I am making a call to check the Status of a website, but would also like to console log the Server and Content-Type values that are returned. thanks for any insights

---

_[View the full topic](https://community.postman.com/t/setting-value-from-headers-as-environment-variable/25405)._
