Loading TOC...

MarkLogic 12 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"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.