3

Please help me. How I can get a file from Google Drive via HTTP GET request (using wget/curl/postman/etc)?

What I need? File ID, access token and what? How correctly write this HTTP request?

Thanks!

  • You can download files on Google Drive using Drive API. When you use Drive API, access token is required. The detail information of Download and Access token are [here](https://developers.google.com/drive/v3/web/manage-downloads) and [here](https://developers.google.com/identity/protocols/OAuth2), respectively. – Tanaike Oct 01 '17 at 08:07
  • I tryed it. But I get error "File not found" – Alexey Vysotsky Oct 01 '17 at 08:11
  • About the detail information that you have tried, can you show us them? If you can show them, please add to your question using EDIT button. Much information helps many user think of the solution. – Tanaike Oct 01 '17 at 08:19
  • Instructions are at https://developers.google.com/drive/v3/reference/files/get You can use the form on the right to try it, and use the Chrome Dev Console to capture the http request to a curl command – pinoyyid Oct 01 '17 at 15:06

1 Answers1

0

Thank you, @pinoyyid!

Instructions are at developers.google.com/drive/v3/reference/files/get You can use the form on the right to try it, and use the Chrome Dev Console to capture the http request to a curl command