angualr2应用下post请求接口,报错信息:XMLHttpRequest cannot load wwww.xxx.com,No 'Access-control-allow-origion' header is present on the requested resource,origion wwww.xxx.com is therefore not allowed access,the response had HTTP status code 500
应用使用的是jquery,没使用angular的Http模块
如果是跨域问题为什么不是502呢,而且我单独写了一个最简单的页面发送相同的请求就没有报这个错误,是什么原因呢?
求指教
看报错显示的应该是跨域问题,我刚试了下,跨域问题提示的错误码是500.