# For application/xml I get "message": "Could not parse request body into json: Unexpected character

**URL:** <https://community.postman.com/t/for-application-xml-i-get-message-could-not-parse-request-body-into-json-unexpected-character/10233>\
**Category:** Help Hub\
**Created:** [January 21, 2020, 10:01am UTC](https://community.postman.com/t/for-application-xml-i-get-message-could-not-parse-request-body-into-json-unexpected-character/10233 "2020-01-21T10:01:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony1929](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@Tony1929](https://community.postman.com/u/Tony1929)\
**Post date:** [January 21, 2020, 10:01am UTC](https://community.postman.com/t/for-application-xml-i-get-message-could-not-parse-request-body-into-json-unexpected-character/10233/1 "2020-01-21T10:01:11Z")

</div>

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.
