Answer the question
In order to leave comments, you need to log in
Single Origin Policy Prevents Reading a Remote Resource?
The problem is this, I recently started using Ember, I used a mirage for the server, but now I want to use node.js. Request from foreign origin blocked: The single origin policy does not allow reading the remote resource at 127.0.0.1:3000/spec. (Reason: missing CORS header "Access-Control-Allow-Origin").
How to solve it?
Answer the question
In order to leave comments, you need to log in
Wiki: CORS
Register the correct one Access-Control-Allow-Origin
or use jsonp, for example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question