Loading TOC...

MarkLogic 12 EA 2 Product Documentation
xdmp:set-response-code

xdmp:set-response-code(
   $code as xs:integer,
   $message as xs:string
) as empty-sequence()

Summary

Sets the response code and message.

Parameters
code The response code.
message The response message.

Example

xdmp:set-response-code(204,"No Content")

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