From 1b7d999fc4bccb6cbc73a07de3b1ac4013d63c05 Mon Sep 17 00:00:00 2001 From: Proddy Date: Mon, 1 Jan 2024 16:59:52 +0100 Subject: [PATCH] add comments --- lib/framework/HttpEndpoint.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/framework/HttpEndpoint.h b/lib/framework/HttpEndpoint.h index aa8bdea54..0c744f5ad 100644 --- a/lib/framework/HttpEndpoint.h +++ b/lib/framework/HttpEndpoint.h @@ -46,6 +46,7 @@ class HttpEndpoint { // register the web server on() endpoints void registerURI() { + // GET _server->on(_servicePath, HTTP_GET, _securityManager->wrapRequest( @@ -57,6 +58,7 @@ class HttpEndpoint { }, _authenticationPredicate)); + // POST _server->on(_servicePath, HTTP_POST, _securityManager->wrapCallback(