Is it get or post? I am confused {request: oauth2access_token, error_code: 10021, error: HTTP & nbsp; METHOD & nbsp; is & nbsp; not & nbsp; suported & nbsp; for & nbsp; this & nbsp; request !}, Whether post should be submitted in get or post mode? I am confused.
{"Request": "/oau2/ access_token", "error_code": 10021, "error": "http method is not suported for this request! "}, What should post be submitted?
It is Sina's oau2authorization. I have obtained the code, and this problem has been bothering me for a long time...
Sina OAuth
Share:
------ Solution --------------------
Post method
------ Solution --------------------
It is because your pass-through value is incorrect. it is certainly wrong to compare all the parameters passed by your curl/oau2/ access_token with sina.
Also, sina provides its own example. you can change the example to the interface you need.
------ Solution --------------------
10021 invalid request
You got something wrong or expired.
A set of error codes for Sina