Google Drive API request to generate access token

Use the following request to generate a new access token for the Google Drive API:

Request type: POST

URI: ‘https://accounts.google.com/o/oauth2/token’

In the body section, choose ‘x-www-form-urlencoded’

“Request Body”: 

{

    client_id: {Your client ID here},

    client_secret: {Your client secret value here},

    refersh_token: {refersh token},

    grant_type: refresh_token,

 }

Leave a comment

Your email address will not be published. Required fields are marked *