gpio

Configure a GPIO pin for output and set its value. Body: {"value": 0|1}.

post/api/gpio/{pin}

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/gpio/{pin}
  • Auth
    none declared

Request body

object required

Response

Object with pin and the applied value.

Changes