Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin'

在使用ajax向tomcat部署的rest服务(使用nginx做为反向代理服务器)请求数据时返回了Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource这个异常,错误码是5
相关文章
相关标签/搜索