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

  • Question

  • 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

    Tuesday, July 22, 2014 8:03 AM