Skip to main content

GetBucketCors for Cloud Storage

Example GetBucketCors request

user@host % aws s3api get-bucket-cors --bucket my_bucket
{
"CORSRules": [
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"PUT",
"DELETE",
"POST"
],
"AllowedOrigins": [
"http://www.example.com"
]
},
{
"AllowedMethods": [
"GET"
],
"AllowedOrigins": [
"*"
]
}
]
}

On this page