Google Cloud Storage:上传文件的PUT对象与POST对象. [英] Google Cloud Storage : PUT Object vs POST Object to upload file.?

查看:113
本文介绍了Google Cloud Storage:上传文件的PUT对象与POST对象.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以请我解释一下上传文件的PUT对象与POST对象之间的主要区别是什么.

Can any one please explain me what is main difference between PUT Object vs POST Object to upload file.

使用每种??的优点和缺点是什么?

What are advantages and disadvantages of using each ??

谢谢.

推荐答案

如果无法设置Authorization标头,则使用POST-通常是因为您是

Use POST if you cannot set the Authorization header -- generally because you are uploading with an HTML form.

PUT用于其他所有内容.

这篇关于Google Cloud Storage:上传文件的PUT对象与POST对象.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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