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