REST API: Difference between revisions

From IOT4
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
===Need to enable on the Admin page:===
===Need to enable on the Admin page:===


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




Line 11: Line 12:
http://<ip_address>/apis?apikey=B7B0189A937E2951
http://<ip_address>/apis?apikey=B7B0189A937E2951


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




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


[[File:Api_temp.png|800px|thumb|left|Request the temperature]]
[[File:Api_temp.png|800px|thumb|Request the temperature]]

Revision as of 20:50, 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