MarkLogic 12 Product Documentation
xdmp.getRequestMethod

xdmp.getRequestMethod() as String

Summary

Returns the HTTP request method.

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

Example

xdmp.getRequestMethod();
=> "GET"
Powered by MarkLogic Server | Terms of Use | Privacy Policy