开发者社区> 问答> 正文

用sts授权的token给oss直传文件(使用putobject操作)这一点oss不支持吗?

总是提示下面的错误,怎么改都不行。
Fetch API cannot load http://*/58a2a3053615a082a030267bd8cd593a.jpg. Response to preflight request doesn't pass access control check: 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 503. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

展开
收起
safffffff 2017-02-21 15:01:32 7998 0
1 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
OSS运维进阶实战手册 立即下载
《OSS运维基础实战手册》 立即下载
OSS运维基础实战手册 立即下载