Hi, I would like to query the latest values of my DHT22 sensor from the EasyIoT cloud. I got an Ajax script it place that queries
cloud.iot-playground.com/Api/Control/Module/Get/1
(replace '1' with my module no.).
Unfortunately it's not allowed because no 'Access-Control-Allow-Origin' header is present.
Would it be hard for you to add one? That would make life easier. Or is there any other way to querying all latest values of a module?
istvank wrote: Hi, I would like to query the latest values of my DHT22 sensor from the EasyIoT cloud. I got an Ajax script it place that queries
cloud.iot-playground.com/Api/Control/Module/Get/1
(replace '1' with my module no.).
Unfortunately it's not allowed because no 'Access-Control-Allow-Origin' header is present.
Would it be hard for you to add one? That would make life easier. Or is there any other way to querying all latest values of a module?
Thanks!
István
Please do not use HTTP API. We are working on new REST API, much more powerful as current REST API. Just wait couple of days for docs and libraries. With new REST API you will be able to read and write values, post even more values with one request, add new sensors...