Go to documentation repository
Page History
...
Tip |
---|
{id} - sensor id (0, 1, 2, 3). |
Info | ||
---|---|---|
| ||
port - port dla HttpListener port. |
JSON body:
Code Block |
---|
{"state": "closed"} |
where gdzie state - opened or lub closed.
Sample requestPrzykładowe zapytanie:
Code Block |
---|
http://127.0.0.1:8080/device/di/0 {"state": "opened"} |
...
Overview
Content Tools