Endpoint to test authentication.
Enable or disable a GPIO pin.
Example Request:
POST /gpio/14/setpoint HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"value": 1
}
Example Response:
HTTP/1.1 200 SUCCESS
Content-Type: text/json
{
"value": 1
}
Request Headers: | |
---|---|
|
|
Response Headers: | |
|
|
Status Codes: |
|