REST API: Difference between revisions

From IOT4
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


[[File:Admin_set.png|800px|thumb|left|Enable on the admin page]]
[[File:Admin_set.png|800px|thumb|left|Enable on the admin page]]


After you can ask the available values:  
After you can ask the available values:  
Line 9: Line 10:
http://<ip_address>/apis?apikey=B7B0189A937E2951
http://<ip_address>/apis?apikey=B7B0189A937E2951


[[File:Apis.png|800px|thumb|left|Request the available APIs]]




Line 14: Line 16:


http://<ip_address>/api/temperature?apikey=B7B0189A937E2951
http://<ip_address>/api/temperature?apikey=B7B0189A937E2951
[[File:Api_temp.png|800px|thumb|left|Request the temperature]]

Revision as of 20:47, 27 September 2018

REST API

Need to enable on the Admin page:

Enable on the admin page


After you can ask the available values:

http://<ip_address>/apis?apikey=B7B0189A937E2951

Request the available APIs


With this can you ask discret values:

http://<ip_address>/api/temperature?apikey=B7B0189A937E2951

Request the temperature