Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

(CORS) POST JSON Data to an ASP.Net MVC Web API using XDomainRequest from IE8 and IE9

$
0
0

Hi,

I have an issue while sending JSON Data through POST method using XDomainRequest from IE8/IE9 to an ASP.Net MVC Web API which has been enabled for CORS handlers. Where as XDomainRequest can allow the content-Type 'text/plain'. 

Please suggest how to set Content-Type as 'application/json'?

Thanks in advance


Viewing all articles
Browse latest Browse all 3527

Trending Articles