disallowed for cross-origin requests that require preflight错误


详细错误:XMLHttpRequest cannot load http://v0.api.upyun.com/smz01 . The request was redirected to ' http://v0.api.upyun.com/smz01 ', which is disallowed for cross-origin requests that require preflight.

在360里用chrome内核上传没有这个问题。在IE中也没有这个问题。怎么解决呢?

upyun 又拍云存储 disallowed require requests preflight http 错误 cross-origin api smz01 v0 crossorigin

AokoRin 10 years, 2 months ago

提示很清楚,是 跨源 请求的问题。 之所以不能访问,可能和你的调用方式有关系,你得在请求的header中添加相关信息。

旗鱼磁轨炮 answered 9 years, 1 month ago

Your Answer