FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

12677 questions

15063 answers

24126 comments

47076 members

0 votes
303 views 1 comments
by
Hi,

I use RUT955 to read power meter via MODBUS RS485 and send data to cloud via https POST and PC via http POST.

Sending data to cloud via https POST works fine.  But http POST to the PC does not work.

For the http POST to PC, the URL (http://192.168.1.172:1880/sensor) and header (Content-Type: application/json) setting work with POSTMAN but does not work on RUT955.  Just cannot figure out and need some advice.

These are the URL and header setting for http POST.  Note that this setting uses exactly the same JSON data format with the https POST that works.

URL:  192.168.1.172:1880/sensor

Custom header:   Content-Type: application/json

JSON format:

{

"ID":"%i",

"timeStamp":"%d",

"sensorValue":%a

}

Regards,

1 Answer

0 votes
by
Now I can solve the problem already.  It is the firewall on the PC that blocks the gateway POST.  Nothing wrong with the settings.
by
Hi,

Glad you've managed to find the solution yourself.

Have a nice day!

EB.