Previous page Next page
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Current »
POST http:/IP-address:port/device/di/{id}
JSON body:
{"state": "closed"}
where state − opened or closed.
Sample request:
http://127.0.0.1:8080/device/di/0 {"state": "opened"}