User Manual

38
5.2.7 URL API
Figure 19. Configuring the URL API
Enable URL API Enables M2M URL API functions in the system kernel.
Use custom M2M HTTP(S) port Check to specify a specific port for M2M URL API communication.
Current M2M HTTP(S) port Read-only value. Indicates the port where the device currently listens
for M2M URL API commands.
Current M2M security protocol Read-only value. Indicates the HTTP or HTTPs used for
communication.
Custom M2M HTTP(S) port Specific port for M2M URL API only (to fill in the value, enable Use
custom port first). Allowed range 1 – 65535. The device warns you if
you specify a port number that is already in use. However, to be sure,
we recommend to use port numbers above 1024.
Passphrase Password to authenticate HTTP GET communication (pass attribute in
the request).
For an example of toggling output no. 1 using the M2M URL API, click the Test URL API link.
This opens a new browser tab and invokes the following HTTP GET request:
http(s)://<netio.ip.address.here>/netio.cgi?pass=&output1=4
5
5
Select http or https depending on whether you use secure connection (https) or standard unencrypted
connection (http).
-
In previous firmware versions (<3.0.0), the output parameter was called outlet – please take this change
into account in your existing implementations.