# HTTP POST: Where to put body?

**URL:** <https://discourse.nodered.org/t/http-post-where-to-put-body/78226>\
**Category:** General\
**Created:** [6 May 2023 19:00 UTC](https://discourse.nodered.org/t/http-post-where-to-put-body/78226 "2023-05-06T19:00:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oguruma](https://avatars.discourse-cdn.com/v4/letter/o/54ee81/32.png) [@oguruma](https://discourse.nodered.org/u/oguruma)\
**Post date:** [6 May 2023 19:00 UTC](https://discourse.nodered.org/t/http-post-where-to-put-body/78226/1 "2023-05-06T19:00:00Z")

</div>

I want to fire an HTTP request (Post) on an incoming MQTT.

I see how to add the HTTP Node, but I don't see where to add the Body for the HTTP.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [6 May 2023 20:07 UTC](https://discourse.nodered.org/t/http-post-where-to-put-body/78226/2 "2023-05-06T20:07:44Z")

</div>

If you read the help text in the sidebar, by selecting book icon at top, you will see under Inputs

> payload  
> Sent as the body of the request.

So the body would go in msg.payload that is feed into the http request node.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [5 July 2023 20:07 UTC](https://discourse.nodered.org/t/http-post-where-to-put-body/78226/3 "2023-07-05T20:07:53Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
