# CoAP Request Node - Where to input the POST payload?

**URL:** <https://discourse.nodered.org/t/coap-request-node-where-to-input-the-post-payload/17520>\
**Category:** General\
**Created:** [5 November 2019 06:17 UTC](https://discourse.nodered.org/t/coap-request-node-where-to-input-the-post-payload/17520 "2019-11-05T06:17:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmed.ms](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ahmed.ms/32/10704_2.png) [@ahmed.ms](https://discourse.nodered.org/u/ahmed.ms)\
**Post date:** [5 November 2019 06:17 UTC](https://discourse.nodered.org/t/coap-request-node-where-to-input-the-post-payload/17520/1 "2019-11-05T06:17:10Z")

</div>

Where is the entry for the POST or PUT payloads of the CoAP Request node?

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [5 November 2019 06:50 UTC](https://discourse.nodered.org/t/coap-request-node-where-to-input-the-post-payload/17520/2 "2019-11-05T06:50:13Z")

</div>

This is not the right place to ask. Post your [question on github instead](https://github.com/reederz/node-red-contrib-coap). Although it does not seem to be updated anymore.

---

<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:** [5 November 2019 07:06 UTC](https://discourse.nodered.org/t/coap-request-node-where-to-input-the-post-payload/17520/3 "2019-11-05T07:06:11Z")

</div>

> [@bakman2](#):
>
> This is not the right place to ask

@bakman2 it is perfectly reasonable to ask here. Whether anyone here has experience of that node is another matter.

@ahmed.ms does the node's help in the info sidebar not provide that information?

---

<div class="post-metadata">

**Author:** ![ahmed.ms](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ahmed.ms/32/10704_2.png) [@ahmed.ms](https://discourse.nodered.org/u/ahmed.ms)\
**Post date:** [6 November 2019 02:33 UTC](https://discourse.nodered.org/t/coap-request-node-where-to-input-the-post-payload/17520/4 "2019-11-06T02:33:19Z")

</div>

Hi Nick,

The documentation is not very clear, but I just figured it out by debugging my IoT motes:

- Add a function node before the coap node and type:

```auto
msg.url = "coap://<url>/"
msg.payload = "<Payload_goes_here>";
msg.method = "POST";
return msg;

```

- Don't write anything directly in the coap node

Thanks
