xdmp.getRequestMethod() as String
Returns the HTTP request method.
In an isolated evaluation context (see xdmp.isIsolated), this function is not available and throws XDMP-ISOLATED.
xdmp.isIsolated
XDMP-ISOLATED
xdmp.getRequestMethod(); => "GET"