xdmp.setResponseCode( code as Number, message as String ) as null
Sets the response code and message.
Parameters | |
---|---|
code | The response code. |
message | The response message. |
xdmp.setResponseCode(204,"No Content");
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.