我正在尝试整合Qiniu SDK进行音频上传。根据它的文档,我们首先需要获得访问令牌。 因为我们需要在任何api调用中传递AccessToken。Qiniu:总是返回“405不允许”
http://developer.qiniu.com/docs/v6/api/reference/acc/access-token.html
我试图调用API与以下数据。
host : http://acc.qbox.me
method : POST
Parameters :
grant_type = password
username = <username>
password = <password>
但还是把它给我下面的响应
<html>
<head><title>405 Not Allowed</title></head>
<body bgcolor="white">
<center><h1>405 Not Allowed</h1></center>
<hr><center>nginx/1.4.4</center>
</body>
</html>
请任何可以引导我什么是错了进去。
405是方法不允许的。你确定你的服务支持POST吗? –