Escaping curl command in Windows

前端 未结 3 1340
走了就别回头了
走了就别回头了 2021-01-13 13:46

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.

I\'m exec

3条回答
  •  梦谈多话
    2021-01-13 14:18

    The XDMP-DOCROOTTEXT error indicates the server is trying to parse the payload as XML and failing.

    The Content-Type header is telling the server that you're sending XML, but the payload is JSON.

    Try changing the Content-Type header to application/json

提交回复
热议问题