Trouble sending http request to NodeRed

141 views
Skip to first unread message

Enrico Kötteritzsch

unread,
Jan 8, 2022, 6:51:32 AM1/8/22
to Tasker
Hey guys
In order to transmit the alarm time from my mobile phone to NodeRed on my RPi I want to send data from tasker to my NodeRed server.
I desperately try to send just a basic test message.
I tried every combination of different setting so far for the http post action, as well is for the http request action.
So far I could pinpoint things a bit as I found out, that my setting works for "http request get" but without stating the topic "test". With stating "/test" I will get the same error as for the other two combinations with "http request post". So regardless of "/test" is added or not, the "http request post" gives me the error message as in the screenshot.
So what am I doing wrong?
I simply want to send information to my nodered server.

Screenshot_2022-01-08-12-32-45-68.jpgScreenshot_2022-01-08-12-23-59-30 (1).jpgScreenshot_2022-01-08-12-32-18-04_78c564e752295d769e9a0ddd26e8199d.jpg

I am grateful for any hint.

Cheers
Enrico
Message has been deleted

João Dias

unread,
Jan 13, 2022, 10:24:37 AM1/13/22
to Tasker
Seems like you need to configure the endpoint as a POST one in Node-RED? :)

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


Enrico Kötteritzsch

unread,
Jan 24, 2022, 2:45:47 PM1/24/22
to Tasker
Thanks for your reply and sorry that it took me so long to answer.
I had the http in node already configured as a POST one. And I've got a http response node connected as well.
As url endpoint I've set "/test" as in the http request.
I've tried another way to send http messages, to see if my tasker settings were the cause.
It's a website where you can change your settings pretty easily.
Unfortunately I still can't send messages.
I tried the POST method as well as the GET method. Both will give me errors, as you can see in the screenshot.
It's only the GET method without the "/test" that's coming through. But then I don't get anything to see inside node red.
Is there anything like a firewall that's preventing the message from being delivered?


2.png3.png
1.png

João Dias

unread,
Jan 25, 2022, 11:35:12 AM1/25/22
to Tasker
Unfortunately it's really hard for me to tell, sorry :( Network issues like these are very hard to debug if I'm not there with you on the network to test things out...
Reply all
Reply to author
Forward
0 new messages