
xdmp.getResponseCode() as Sequence
Returns two nodes, the first containing the HTTP response code and the second containing the HTTP response message.
In an isolated evaluation context (see xdmp.isIsolated), this function is not available and throws XDMP-ISOLATED.
xdmp.getResponseCode(); => 200 OK
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.