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
用于其他所有内容.