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,