Reputation: 21
having a request like this
{
"report": "score",
"name": "CHRIS WAKE",
"format": "xml"
}
I want to to return an XML format of the response based on the "format": "xml"
parameter which can also be json or pdf.
What i have now returns the XML as a string which does not show the XML tags in the preview tab of postman. This also does not work in the browse-able API version.
Many thanks in advance for any assistance.
Upvotes: 2
Views: 1281