开发者社区 问答 正文

网页上传文件到oss报错

报错为:No 'Access-Control-Allow-Origin' header is present on the requested resource.
              Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 403.
Cors已设置
      

展开
收起
stonewen123 2015-07-16 13:20:55 8050 分享 版权
2 条回答
写回答
取消 提交回答
  • 回1楼废客泉的帖子
    谢谢,看了你的帖子。
    今天下午又好了,没找到原因。
    2015-07-16 16:26:18
    赞同 展开评论
  • Re网页上传文件到oss报错
    看我的帖子:阿里云OSS跨域AJAX上传OPTIONS请求403问题的解决方案
    http://bbs.aliyun.com/read/250407.html
    2015-07-16 16:12:23
    赞同 展开评论