Heim >Backend-Entwicklung >PHP-Tutorial >新浪微博第三方登陆
{"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