No content type in the request for variable1.
The request doesn't contain a content type as expected by the endpoint declaration when anyDocument datatype is used.
Correct your code or endpoint declaration
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.