[#HTTPRequest-GetQueryParameter] = xref:HTTPRequest.adoc[HTTPRequest]::GetQueryParameter :relfileprefix: ../ :mrdocs: Look up a query‐string parameter from the request target. == Synopsis Declared in `<httpserver.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<std::string> GetQueryParameter(std::string_view key) const; ---- == Return Value The parameter value, or nullopt if it is not present. == Parameters [cols="1,4"] |=== | Name| Description | *key* | The parameter name to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#