# Fetch value of a key which has "-" in Tests

**URL:** <https://community.postman.com/t/fetch-value-of-a-key-which-has-in-tests/6112>\
**Category:** Help Hub\
**Created:** [June 26, 2019, 7:43am UTC](https://community.postman.com/t/fetch-value-of-a-key-which-has-in-tests/6112 "2019-06-26T07:43:05Z")\
**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:** [June 26, 2019, 7:50am UTC](https://community.postman.com/t/fetch-value-of-a-key-which-has-in-tests/6112/2 "2019-06-26T07:50:47Z")

</div>

This is a duplicate question, you can find the answer here:

> [@Help with JSON extraction](https://community.postman.com/t/help-with-json-extraction/5155):
>
> Hi. I am doing my first steps towards an “advanced” use of Postman. I am trying to extract data from a JSON response. The JSON response looks like: { "args": {}, "headers": { "x-forwarded-proto": "https", "host": "postman-echo.com", "accept": "\*/\*", "accept-encoding": "gzip, deflate", "cache-control": "no-cache", "cookie": "sails.sid=s%3AgX-JxoOgGc7tWEb8jw\_6YBH5VKcxH8R8.M7J38uMcN090VYnxRHu6eF4rkq7arAemQXhfRd9TWz4", "postman-token"…

---

_[View the full topic](https://community.postman.com/t/fetch-value-of-a-key-which-has-in-tests/6112)._
