REST API: Difference between revisions

From IOT4
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
REST API
===REST API===


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|left|Enable on the admin page]]




After you can ask the available values:  
===After you can ask the available values:===


http://<ip_address>/apis?apikey=B7B0189A937E2951
http://<ip_address>/apis?apikey=B7B0189A937E2951
Line 13: Line 14:




With this can you ask discret values:
===With this can you ask discret values:===


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|left|Request the temperature]]

Revision as of 21:48, 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