2017-01-23 58 views

回答

0

看起來你正在使用http get請求而不是http post方法請求。

+0

我也使用post請求。但它顯示{ 「錯誤」:「unsupported_grant_type」 } –

+0

請分享確切的請求/響應。 –

+0

感謝您接觸到我的請求「https://login.uber.com/oauth/v2/token」。這是一個post請求,在我正在發送client_id,redirect_uri爲「http:// localhost」,client_secret,grant_type爲「authorization_code」,refresh_token爲「q1uR43DL16E7cTRIUNziySKdvdzqrz#_」。刷新令牌從授權請求中生成。謝謝 –