FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14238 questions

16883 answers

27775 comments

54486 members

0 votes
372 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.