Is it the get or post method? I am confused, younger brother.
Source: Internet
Author: User
Is it get or post? I am confused {"request": "/oau2/ access_token", "error_code": 10021, "error": "HTTP & nbsp; METHOD & nbsp; is & nbsp; not & nbsp; is sup the get or post method? 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 shared:
------ 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.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.