# How to access a json object retrieved as a http response

**URL:** <https://discourse.nodered.org/t/how-to-access-a-json-object-retrieved-as-a-http-response/1090>\
**Category:** General\
**Created:** [26 June 2018 06:19 UTC](https://discourse.nodered.org/t/how-to-access-a-json-object-retrieved-as-a-http-response/1090 "2018-06-26T06:19:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sampath6789](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@sampath6789](https://discourse.nodered.org/u/sampath6789)\
**Post date:** [26 June 2018 06:19 UTC](https://discourse.nodered.org/t/how-to-access-a-json-object-retrieved-as-a-http-response/1090/1 "2018-06-26T06:19:27Z")

</div>

I get a json object as a response to one of my http request. I want to access the elements of it. could any one knows which node to be used for that.

Thank you.

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [26 June 2018 06:28 UTC](https://discourse.nodered.org/t/how-to-access-a-json-object-retrieved-as-a-http-response/1090/2 "2018-06-26T06:28:43Z")

</div>

Have you tried the json node? Which if it is json will convert it to a javascript object

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [26 June 2018 06:32 UTC](https://discourse.nodered.org/t/how-to-access-a-json-object-retrieved-as-a-http-response/1090/3 "2018-06-26T06:32:47Z")

</div>

also worth reading this page  
[https://nodered.org/docs/user-guide/messages](https://nodered.org/docs/user-guide/messages)

---

<div class="post-metadata">

**Author:** ![sampath6789](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@sampath6789](https://discourse.nodered.org/u/sampath6789)\
**Post date:** [26 June 2018 06:34 UTC](https://discourse.nodered.org/t/how-to-access-a-json-object-retrieved-as-a-http-response/1090/4 "2018-06-26T06:34:25Z")

</div>

let me have a try. thank you so much. btw my intent is to use data in that response in another http request. is it possible.

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [26 June 2018 06:51 UTC](https://discourse.nodered.org/t/how-to-access-a-json-object-retrieved-as-a-http-response/1090/5 "2018-06-26T06:51:18Z")

</div>

Well you could try it…

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [26 June 2018 07:23 UTC](https://discourse.nodered.org/t/how-to-access-a-json-object-retrieved-as-a-http-response/1090/6 "2018-06-26T07:23:56Z")

</div>

@sampath6789 please use the #general category for your questions. The #development category is for work on developing node-red itself. I have moved both of your posts over for you.
