Home >Backend Development >PHP Tutorial >新浪微博第三方登陆

新浪微博第三方登陆

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 14:05:541523browse

{"error":"HTTP METHOD is not suported for this request!","error_code":10021,"request":"/oauth2/access_token"}
调转到授权页面时报这个错误,不支持http请求 。。。。


回复讨论(解决方案)

应该不会,估计是你哪写错了,可以参考下新浪的sdk



应该不会,估计是你哪写错了,可以参考下新浪的sdk
恩好的

{"request":"/oauth2/access_token","error_code":10021,"error":"HTTP METHOD is not suported for this request!"},post到底该提交什么?

https://api.weibo.com/oauth2/access_token?grant_type=authorization_code
&client_id=2793512404
&client_secret=a4aafbad00d5efdef67c66bacf861ff1
&code=8403984d4f185c78c021c8966e385979
&redirect_uri=www.etu6.org%2Foauth%2Fwb_callback.php

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