I\'m trying to run a curl command from the command line in Windows, but for the life of me I can\'t figure out how I\'m supposed to escape it.
curl
I\'m exec
The XDMP-DOCROOTTEXT error indicates the server is trying to parse the payload as XML and failing.
XDMP-DOCROOTTEXT
XML
The Content-Type header is telling the server that you're sending XML, but the payload is JSON.
Content-Type
JSON
Try changing the Content-Type header to application/json
application/json