FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
527 views 1 comments
by anonymous
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 anonymous
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 anonymous
Hi,

Glad you've managed to find the solution yourself.

Have a nice day!

EB.