【发布时间】:2016-10-19 21:19:55
【问题描述】:
我使用 Postman AWS Signature 连接 S3 服务,我可以获取所有存储桶,该存储桶内的文件夹,也可以删除该存储桶。
这是我可以通过 Postman 完成的请求列表。
List of all bucket inside the specific region: GET https://s3-us-west-2.amazonaws.com/
List of all objects/folders inside the bucket: GET https://s3-us-west-2.amazonaws.com/<bucket name>
Delete the bucket/file (when it's empty): DELETE https://s3-us-west-2.amazonaws.com/<bucket name>/[<file name>]
Create the file into the bucket: PUT https://s3-us-west-2.amazonaws.com/<bucket name>/[<file name>][<folder name>/]
当我想创建一个存储桶(PUT 方法)时,它会响应我一条错误消息。
The unspecified location constraint is incompatible for the region specific endpoint this request was sent to
所以问题。如何通过 Postman 创建存储桶?提前致谢。
【问题讨论】:
标签: amazon-web-services amazon-s3 postman