For better experience using the Drive API, make sure you have installed the OAuth 2.0 Playground Drive app on the Chrome Webstore. Dismiss
You are using a custom OAuth configuration. Please note that your credentials will be sent to these URLs:
Here is a URL to initialize the playground with the current configuration:
Note: If the option above is enabled this link may contain your OAuth credentials and OAuth tokens. In that case avoid sharing this link.
Note: The OAuth endpoints above need to implement the OAuth 2.0 draft 10 specification or above. Other specification are likely to be incompatible.
You will need to list the URL https://developers.google.com/oauthplayground as a valid redirect URI in your Google APIs Console's project. Then enter the client ID and secret assigned to a web application on your project below:
You will need to list the URL https://developers.google.com/oauthplayground as a valid redirect URI in the developer console of your API. Then enter your client ID and secret below:
Note: Your credentials will be sent to our server as we need to proxy the request. Your credentials will not be logged.
Select the scope for the APIs you would like to access or input your own OAuth scopes below. Then click the "Authorize APIs" button.
The access token below is provided after going through Step 1. It is a short lived token which gives you access to the user's OAuth protected resources.
Once you got the Authorization Code from Step 1 click the Exchange authorization code for tokens button, you will get a refresh and an access token which is required to access OAuth protected resources.
The access token will expire in seconds.
The access token has expired.
Note: The OAuth Playground will automatically revoke refresh tokens after 24h. You can avoid this by specifying your own application OAuth credentials using the Configuration panel.
Construct your HTTP request by specifying the URI, HTTP Method, headers, content type and request body.
Then click the "Send the request" button to initiate the HTTP Request.
Manual entry
Enter the data that will be added to the body of the request:
File
You may choose to send a file as part of the request. When both a file and manual content are provided both will be sent using a multipart request. You may send files of maximum 1 MB using the Playground.
Please select your file:
Note: The OAuth access token in Step 2 will be added to the Authorization header of the request.