# How can I set the payload in a http.request when method is 'POST'?

**URL:** <https://discourse.nodered.org/t/how-can-i-set-the-payload-in-a-http-request-when-method-is-post/83647>\
**Category:** General\
**Tags:** http-request\
**Created:** [12 December 2023 17:35 UTC](https://discourse.nodered.org/t/how-can-i-set-the-payload-in-a-http-request-when-method-is-post/83647 "2023-12-12T17:35:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![realtebo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/realtebo/32/85732_2.png) [@realtebo](https://discourse.nodered.org/u/realtebo)\
**Post date:** [12 December 2023 17:35 UTC](https://discourse.nodered.org/t/how-can-i-set-the-payload-in-a-http-request-when-method-is-post/83647/1 "2023-12-12T17:35:29Z")

</div>

> Sorry, ... i'm totally new ...

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/2/e226fd4bebe6441992cb5f029307181b4055bf90.png)

How can I set the payload in this node?  
I can't see a 'payload' textarea or similar

---

<div class="post-metadata">

**Author:** ![realtebo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/realtebo/32/85732_2.png) [@realtebo](https://discourse.nodered.org/u/realtebo)\
**Post date:** [12 December 2023 17:41 UTC](https://discourse.nodered.org/t/how-can-i-set-the-payload-in-a-http-request-when-method-is-post/83647/2 "2023-12-12T17:41:14Z")

</div>

Ooohhhh !!! Resolved

In the inject, I can set the msg.payload !!

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [12 December 2023 18:00 UTC](https://discourse.nodered.org/t/how-can-i-set-the-payload-in-a-http-request-when-method-is-post/83647/3 "2023-12-12T18:00:29Z")

</div>

> [@realtebo](#):
>
> .. i'm totally new .

I recommend watching this playlist: [Node-RED Essentials](https://www.youtube.com/playlist?list=PLyNBB9VCLmo1hyO-4fIZ08gqFcXBkHy-6). The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.

---

<div class="post-metadata">

**Author:** ![realtebo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/realtebo/32/85732_2.png) [@realtebo](https://discourse.nodered.org/u/realtebo)\
**Post date:** [12 December 2023 19:17 UTC](https://discourse.nodered.org/t/how-can-i-set-the-payload-in-a-http-request-when-method-is-post/83647/4 "2023-12-12T19:17:12Z")

</div>

Thanks for this usefull suggestion

---

<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:** [26 December 2023 19:17 UTC](https://discourse.nodered.org/t/how-can-i-set-the-payload-in-a-http-request-when-method-is-post/83647/5 "2023-12-26T19:17:42Z")

</div>

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