How to generate access token using refresh token through google drive API?

前端 未结 8 1323
一个人的身影
一个人的身影 2020-12-04 14:33

I have completed steps of authorization and obtained access token and refresh token.

What should I do next to generate access token using refresh token that I have s

8条回答
  •  情深已故
    2020-12-04 15:00

    POST /oauth2/v4/token

    Host: www.googleapis.com

    Headers

    Content-length: 163

    content-type: application/x-www-form-urlencoded

    RequestBody

    client_secret=************&grant_type=refresh_token&refresh_token=sasasdsa1312dsfsdf&client_id=************

提交回复
热议问题