MarkLogic Server 11.0 Product Documentation
xdmp:get-request-method

xdmp:get-request-method() as xs:string

Summary

Returns the HTTP request method.

In an isolated evaluation context (see xdmp:is-isolated), this function is not available and throws XDMP-ISOLATED.

Example

xdmp:get-request-method()
=> "GET"
Powered by MarkLogic Server | Terms of Use | Privacy Policy