MarkLogic Server 11.0 Product Documentation
xdmp.setResponseCodexdmp.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");
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.