HTTP_POST to arduino webserver

#1

hallo,

I’am quite new in node red , and I want to know if there are any example of how to use HTTP post ? The idea is I wanted to post for example “HELLO” to a web-server made from an ESP8266 arduino.

0 Likes

#2

There are some examples of HTTP Get requests in the cookbook - https://cookbook.nodered.org/http/simple-get-request - but none for POST.

There is not a lot to do - you provide the URL to POST to and if you pass in msg.payload as an object, it’ll be posted as JSON to the server.

If you can share some more specific details over what you want to do with the POST, I’m sure we will be able to steer you in the right direction.

0 Likes