2016-05-06 78 views

回答

0

你可能得到這個工作,但只是爲了確認從文檔的例子只是工作

https://developer.lyft.com/docs/authentication

curl -X POST -H "Content-Type: application/json" \ 
    --user "<client_id>:<client_secret>" \ 
    -d '{"grant_type": "refresh_token", "refresh_token": <refresh_token>}' \ 
    'https://api.lyft.com/oauth/token' 

響應回來了一個新的access_token

{"token_type": "Bearer", "access_token": "XXX", "expires_in": 3600, "scope": "profile offline rides.read public rides.request"}