xdmp:set-response-code( $code as xs:integer, $message as xs:string ) as empty-sequence()
Sets the response code and message.
xdmp:set-response-code(204,"No Content")
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.