Loading TOC...

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");

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments