From 993583015b127b0a83603acd352925c8d6e6db70 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Mon, 26 Feb 2024 13:09:27 +0100 Subject: [PATCH] microhttpd: docs - note about variables available in the event route --- src/modules/microhttpd/doc/microhttpd_admin.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/microhttpd/doc/microhttpd_admin.xml b/src/modules/microhttpd/doc/microhttpd_admin.xml index 1967c845b82..c548d0dfc42 100644 --- a/src/modules/microhttpd/doc/microhttpd_admin.xml +++ b/src/modules/microhttpd/doc/microhttpd_admin.xml @@ -157,6 +157,11 @@ event_route[microhttpd:request] { The event route is executed when a new HTTP request is received. + + Inside it, the $mhttpd(...) group of variables is available, giving + access to several attributes of the HTTP request, such as method, + URL, data (body) or headers. + ... ...