feat: capabilities API
This commit is contained in:
@@ -59,7 +59,7 @@ public:
|
||||
String json;
|
||||
serializeJson(resp, json);
|
||||
request->send(ok ? 200 : 400, "application/json", json);
|
||||
});
|
||||
}, std::vector<ApiServer::ParamSpec>{ ApiServer::ParamSpec{ String("state"), true, String("body"), String("string") } });
|
||||
}
|
||||
|
||||
void turnOn() {
|
||||
|
||||
Reference in New Issue
Block a user