通过HTTP GET请求从Google云端硬盘下载文件 [英] Download file from Google Drive via HTTP GET request

查看:161
本文介绍了通过HTTP GET请求从Google云端硬盘下载文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我.如何通过HTTP GET请求(使用wget/curl/postman/etc)从Google云端硬盘中获取文件?

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

我需要什么?文件ID,访问令牌以及什么?如何正确编写此HTTP请求?

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

谢谢!

推荐答案

谢谢@pinoyyid!

Thank you, @pinoyyid!

说明位于developers.google.com/drive/v3/reference/files/get 您可以使用右侧的表单进行尝试,并使用Chrome Dev 控制台以捕获对curl命令的http请求

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

这篇关于通过HTTP GET请求从Google云端硬盘下载文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆