That error generally means that your server is not responding to the CORS request correctly. You should triple-check the output of your server (specifically, the Access-Control-Allow-Origin and Access-Control-Allow-Headers headers) to make sure they're correct.
On Wednesday, January 22, 2014 4:53:03 PM UTC-8, Jake K. wrote: > > > Hello, > > I have a bunch of restful methods which I use in my angularjs app. > > They work fine in most browsers, except for IE. > > I get the following warning when I try to start a session, which requires > a call to a restful method ( I use $http ) > > *XMLHttpRequest for https://path-to-api/myApi <https://path-to-api/myApi> > required CORS preflight* > > I am not exactly where the error is coming from, so I am not sure how to > put a specific question. > > So, how do I solve this issue? > > Thanks > > PS: I also get other similar errors in IE, e.g. *XMLHttpRequest > for https://path-to-api/myApi <https://path-to-api/myApi> required Cross > Origin Resource Sharing (CORS).* > It seems like the error has to do with CORS, but I am not sure. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
