diff --git a/src/test/test.cpp b/src/test/test.cpp index 16b73f49f..019a56ef9 100644 --- a/src/test/test.cpp +++ b/src/test/test.cpp @@ -947,6 +947,9 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd) { request.url("/api/system/commands"); EMSESP::webAPIService.webAPIService_get(&request); + request.url("/api/boiler/info"); + EMSESP::webAPIService.webAPIService_get(&request); + // POST request.method(HTTP_POST); request.url("/api/system/commands"); diff --git a/src/web/WebAPIService.cpp b/src/web/WebAPIService.cpp index f0d0002b5..c2452c167 100644 --- a/src/web/WebAPIService.cpp +++ b/src/web/WebAPIService.cpp @@ -126,7 +126,7 @@ void WebAPIService::parse(AsyncWebServerRequest * request, std::string & device_ id_n = Helpers::atoint(request->getParam("hc")->value().c_str()); } } else { - // parse paths and json data + // parse paths and json data from the OpenAPI standard // /{device}[/{hc}][/{name}] // first param must be a valid device, which includes "system" device_s = p.paths().front();