Last updated 3 months ago
GET /controller/led HTTP/1.1 Host: robopipe-1.local Accept: */*
Successful Response
[ { "dev": "text", "circuit": "text", "value": 1 } ]
GET /controller/led/{circuit} HTTP/1.1 Host: robopipe-1.local Accept: */*
{ "dev": "text", "circuit": "text", "value": 1 }
Value must be between 0 and 1
POST /controller/led/{circuit} HTTP/1.1 Host: robopipe-1.local Content-Type: application/json Accept: */* Content-Length: 11 { "value": 1 }
POST /controller/led HTTP/1.1 Host: robopipe-1.local Content-Type: application/json Accept: */* Content-Length: 11 { "value": 1 }