Chinaunix首页 | 论坛 | 博客
  • 博客访问: 30480003
  • 博文数量: 708
  • 博客积分: 12163
  • 博客等级: 上将
  • 技术积分: 8240
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-04 20:59
文章分类

全部博文(708)

分类: JavaScript

2015-05-14 15:39:31

XMLHttpRequest cannot load No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '' is therefore not allowed access.

Add the following code to response of the some.domain server
Access-Control-Allow-Origin: *
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
阅读(4135) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~