Sending a CORS Request in IE

Sending a CORS Request in IE

Rate This
  • Comments 1

From the time we added CORS support for ASP.NET WEB API, we have seen many questions on its usage, including questions about sending cross-origin requests (CORS) from IE. IE 10 and higher fully support using XMLHttpRequest to send cross-origin requests. CORS for XHR in IE10  is a great blog post on this approach.

CORS is also supported in IE 8/9, however, in a different way. Instead of XMLHttpRequest, an XDocumentRequest object is used to send cross-origin requests. Here’s another good reading about it: If you’re using jQuery, here’s how to send CORS in IE 8/9

Last, sending CORS request is not supported in IE 6/7.

Leave a Comment
  • Please add 4 and 1 and type the answer here:
  • Post
  • It's worth mentioning that CORS with custom headers are not supported with the XDomainRequest, so if you have Authentication tokens in your headers, it wont work :)

Page 1 of 1 (1 items)