Home  >  Article  >  Backend Development  >  javascript - ajax能得uptoken的url放在js的uptoken_url里面报:(400:token not specified)

javascript - ajax能得uptoken的url放在js的uptoken_url里面报:(400:token not specified)

WBOY
WBOYOriginal
2016-06-06 20:25:021427browse

uptoken_url: 'http://........../qiniu/examples/up.php',这样设置报400错误.
uptoken : data.uptoken,(data.uptoken为ajax得到的uptoken)这样写就能上传,为什么.

回复内容:

uptoken_url: 'http://........../qiniu/examples/up.php',这样设置报400错误.
uptoken : data.uptoken,(data.uptoken为ajax得到的uptoken)这样写就能上传,为什么.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn