Set Content-Type: application/json for my webservice being hit in the browser
Hi,
My webservice returns me a response in json format.
But when I directly invoke the REST ful webservice through a url in my mozilla I receive just a xml output and not the JSON.
Can anyone help me in this? i.e. how to set the Content-Type: application/json?
Thanks Vivek
Wšě wotmołwy (1)
A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.