MarkLogic 12 EA 1 Product Documentation
xdmp.setResponseCode

xdmp.setResponseCode(
   code as Number,
   message as String
) as null

Summary

Sets the response code and message.

Parameters
code The response code.
message The response message.

Example

xdmp.setResponseCode(204,"No Content");
Powered by MarkLogic Server | Terms of Use | Privacy Policy