GetBucket

Last update:2022-03-01 18:22:21

To query whether the bucket exists, the permission of IAM wos:GetBucket is required

Request syntax

HEAD / HTTP/1.1
Host: Bucket.Endpoint
Authorization: Authorization
Date: date

URI request parameters

no

Request header

Only use common request headers .

Request body

no

Response syntax

HTTP/1.1  status_code
x-wos-request-id: request id
Content-Type: type
Date: date
Content-Length: length
Server: WS-web-server

Response header

Only use public response headers .

Response element

no

Example

HEAD / HTTP/1.1
Date: Fri, 10 Feb 2012 21:34:55 GMT
Authorization: authorization string
Host:bucket.s3-cn-east-1.wcsapi.com
Connection: Keep-Alive


HTTP/1.1 200 OK
x-wos-request-id: 32FE2CEB32F5EE2534FE2CEB32A5472
Date: Fri, 10 2012 21:34:56 GMT
Server: WS-web-server

Is the content of this document helpful to you?
Yes
I have suggestion
Submitted successfully! Thank you very much for your feedback, we will continue to strive to do better!