Access-Control-Allow-Origin错误angular2

时间:2015-12-18 16:31:13

标签: xmlhttprequest angular

如何配置我的angular 2应用程序以成功调用api?

http://localhost:9001/api/v1/sign_in. No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost:9000' is therefore not allowed access. The response had HTTP status code 500.

提前谢谢

凯文

0 个答案:

没有答案