Check out our upcoming events and meetups! View events →
Set up CORS rules for your Telnyx Cloud Storage buckets with this guide on using JSON files and AWS S3 API commands.
{
"CORSRules": [
{
"AllowedOrigins": ["http://www.example.com"],
"AllowedMethods": ["PUT", "POST", "DELETE"],
"AllowedHeaders": ["*"]
},
{
"AllowedOrigins": ["*"],
"AllowedMethods": ["GET"]
}
]
}
user@host % aws s3api put-bucket-cors --bucket my_bucket --cors-configuration file://cors.json
Was this page helpful?