使用Python将文件上传到Google Cloud Storage签名的URL

拉吉·乔杜里(Raj Chaudhary)

有人可以通过代码帮助我,最好使用Requests库将文件上传到Python中的Google Cloud Storage签名URL吗?

伦丁·卡斯特

您可以在Github上查看此示例代码它显示了使用PyCrypto和请求实现此目标的可移植方式。

需要注意的是,如果您的应用程序在App Engine上运行,你可以轻松地注册使用App Engine标识服务和字符串sign_blob()方法,如记录在这里

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

使用Java通过Google App Engine将文件上传到Google Cloud Storage :(无此类文件或目录)

使用签名的URL上传到Google Cloud

如何使用JSON API和CloseableHttpClient将文件上传到Google Cloud Storage存储桶?

GSUTIL已将Url PUT签名到Google Cloud Storage失败

使用Google App Engine(Python)将文件上传到Google Cloud Storage

使用Flask将文件上传到Google Cloud Storage

将文件上传到Google Cloud Storage:500后端错误

在Google Cloud Storage签名的URL中提供回调URL

本地单元测试Google Cloud Storage签名的URL

如何使用Elixir或Erlang创建Google Cloud Storage签名URL?

使用JSON API将文件上传到Google Cloud Storage,错误401未经授权

使用PHP使用JWT为Google Cloud Storage签名URL

将python对象上传到Google Cloud Storage,而不保存到文件中

Alamofire无法将文件上传到Google Cloud Storage

使用Python将文件上传到Google Cloud Storage Bucket子目录

使用PHP和Ajax将文件上传到Google Cloud Storage Bucket

将Python文件上传到Google Cloud Storage Bucket返回管道中断错误

使用Python 3问题将文件上传到Google Cloud

使用签名的URL将图像文件上传到Google Cloud时出现CORS错误

使用Google App Engine将大文件上传到Google Cloud Storage

使用C#中的HMAC密钥将文件上传到Google Cloud Storage

如何通过Cloud Functions将文件上传到Cloud Storage并使用Firestore控制对Cloud Storage的访问?

通过签名的URL上传到Google Cloud Storage-对象不公开

将.raw文件上传到Google Cloud Storage

将 xml 文件上传到 Google Cloud Storage 时出错

使用 Node.js 将文件上传到 Google Cloud Storage(已声明“bucketName”)

如何记录谁在 Google Cloud Storage 中下载了签名 URL?

使用 Codeigniter 将文件上传到 Google Cloud Storage

使用 For 循环将多个文件上传到 Google Cloud Storage