Amazon S3: What are considered PUT/COPY/POST/LIST request?

后端 未结 3 973
深忆病人
深忆病人 2020-12-28 18:44

Kindly confirm if this correct:

  • PUT is probably uploading files to S3?
  • COPY is probably copying files within S3?
3条回答
  •  借酒劲吻你
    2020-12-28 19:38

    There is not much of a difference between PUT and POST. The following was copied from AWS S3 documentation.

    POST is an alternate form of PUT that enables browser-based uploads as a way of putting objects in buckets. Parameters that are passed to PUT via HTTP Headers are instead passed as form fields to POST in the multipart/form-data encoded message body.

    http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html

    As others has specified LIST is for listing objects. You can find all the operations in following link.

    http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketOps.html

提交回复
热议问题