Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

POST http:/IP - address:port/device/di/{id}

Tip
  • {id} sensor id (0, 1, 2, 3).
  • port HttpListener port.

JSON body:

Code Block
{"state": "closed"}

where state opened or closed.

Sample request:

...