gaganchawla
12 years agoOccasional Contributor
Http Header issue while using with JSON
Hi,
I have a Rest webservice which retrieves the data from the server.
Get method.
Content-Type : text/Html
I have changed the content type via adding HTTP header as Content-Type : text/json.
It shows that in the request, but it always returns me back the old text/Html type.
Can anybody help, what can be done here.
Thanks,
G
I have a Rest webservice which retrieves the data from the server.
Get method.
Content-Type : text/Html
I have changed the content type via adding HTTP header as Content-Type : text/json.
It shows that in the request, but it always returns me back the old text/Html type.
Can anybody help, what can be done here.
Thanks,
G