# Using Http Request node's output

**URL:** <https://community.n8n.io/t/using-http-request-nodes-output/7786>\
**Category:** Questions\
**Tags:** data-transformation, node\
**Created:** [September 10, 2021, 4:48pm UTC](https://community.n8n.io/t/using-http-request-nodes-output/7786 "2021-09-10T16:48:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![need4eat](https://avatars.discourse-cdn.com/v4/letter/n/b9e5f3/32.png) [@need4eat](https://community.n8n.io/u/need4eat)\
**Post date:** [September 10, 2021, 4:48pm UTC](https://community.n8n.io/t/using-http-request-nodes-output/7786/1 "2021-09-10T16:48:47Z")

</div>

Hi guys,

I know the output of a HTTP Request node is available to the next node.

But is it possible to use the output like below

for example, output of HTTP Request node was

```auto
{
  "id": "1234",
  "someKey": "someVal"
}

```

Now in a function node that comes after the above HTTP Request node. I want to do something like

```auto
{
   "newVar": "123",
   "test": <use HTTP Request Node output here>
}

```

so that the final output is something like

```auto
{
   "newVar": "123",
   "test": {
     "id": "1234",
     "someKey": "someVal"
   }
}

```

is that possible?

this is a POST request btw, i’m trying to use the response that I received from a POST request.

---

<div class="post-metadata">

**Author:** ![need4eat](https://avatars.discourse-cdn.com/v4/letter/n/b9e5f3/32.png) [@need4eat](https://community.n8n.io/u/need4eat)\
**Post date:** [September 10, 2021, 7:03pm UTC](https://community.n8n.io/t/using-http-request-nodes-output/7786/2 "2021-09-10T19:03:08Z")

</div>

Answering my own question for anyone coming here with the same query.

you can access it like so.

if you want to access it from a function node → $node["\<Name of the HTTP Request Node\>"].json

if you want to access it as an expression → {{$node["\<Name of the HTTP Request Node\>"].json}}

---

<div class="post-metadata">

**Author:** ![RicardoE105](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ricardoe105/32/550_2.png) [@RicardoE105](https://community.n8n.io/u/RicardoE105)\
**Post date:** [September 10, 2021, 9:09pm UTC](https://community.n8n.io/t/using-http-request-nodes-output/7786/3 "2021-09-10T21:09:51Z")

</div>

Those are expressions. You can information about it in the link below:

[https://docs.n8n.io/nodes/expressions.html#expressions](https://docs.n8n.io/nodes/expressions.html#expressions)
