Reputation: 33
I have created REST API based on this tutorial: http://docs.wso2.org/wiki/display/ESB460/Using+the+REST+API
When I call this service using Curl, output is what I expected.
If I call REST service using browser (Firefox in this case), "Save as" window is opened with data type "application/soap+xml".
How I can change content type (to application/xml) so I can see result in browser? I am using WSO2 ESB version 4.6.0.
Upvotes: 0
Views: 1198
Reputation: 90776
To test your REST API and specify the headers of your choice and other information, you can use an extension such as RESTClient (Firefox) or Postman (Chrome)
Upvotes: 1