Hi everybody.
I'm just starting with node-red and need to get some temperature data from a T&D Sensor.
It has a web storage service included with the purchase and, to get the data in an automatic way, they offer a webservice on this web page:
https://www.webstorage-service.com/docs/api/reference/devices_device.html
### Request Example
Request Header
POST /v1/devices/current HTTP/1.1
Host: api.webstorage-service.com:443
Content-Type: application/json
X-HTTP-Method-Override: GET
Request Body
[1. If you wish to get device info for all devices.]
*{ *
- "api-key":"73pfobnche8d1p6laqnemsbnpkght3bjv047oid6p2sg3",*
- "login-id":"tbzz9999", *
- "login-pass":"ppaasswwoorrdd" *
}
So, i would like to get that data using node-red but i don't know how to combine the information they ask for that.
There is a sample application made in PHP but i can not understand some things...
The data comes in json format, wich is not a problem but the combination of headers and requests is something new for me.
Thanks in advance