I have created a simple API endpoint with POST method. I am passing request in XML format and it works fine when XML does not contain DOCTYPE