I’m accessing a restful webservice which returns xml. the problem is i don’t know what to do since i’m just starting to dive into restful web services. all i know is that it doesn’t work especially if the dataType you are using is json or jsonp. But also the service is cross-browser so i think it must be in jsonp format. thank you
I’m accessing a restful webservice which returns xml. the problem is i don’t know
Share
Look at Content-Type and Accept header values
The concept is called content negotiation. .