got parameter fetch working beta only
This commit is contained in:
@@ -94,6 +94,14 @@ void HTTPServer::start_apps() {
|
||||
send(202, "text/plain", "");
|
||||
}
|
||||
});
|
||||
|
||||
this->on("/parameters", HTTP_POST, [this]() {
|
||||
logt("got /parameters\n");
|
||||
char json_str[255];
|
||||
treppe->param_to_json(json_str, 255);
|
||||
logt("%s\n", json_str);
|
||||
send(200, "application/json", json_str);
|
||||
});
|
||||
}
|
||||
|
||||
template <class... Args>
|
||||
|
||||
Reference in New Issue
Block a user