I am trying to pass in XML. I have set content-type to application/xml.
When I press send. I get back the error “message”: "Could not parse request body into json: Unexpected character.
Is there a reason why its trying to treat XML as Json.
If I put content-type to text/XML. it states bad syntax. At the moment I am just testing with
Error is {
“message”: “Could not parse request body into json: Unexpected character (’<’ (code 60)): expected a valid value (number, String, array, object, ‘true’, ‘false’ or ‘null’)\n at [Source: (byte)”\r\n"; line: 1, column: 2]"
}
Thanks for any help. Does postman support XML anymore.