EnableCorsUsingREST
Enabling Cross-Origin Resource Sharing (CORS) Using the REST API
To set a CORS configuration on your bucket, you can use the AWS Management Console. If your application requires it, you can also send REST requests directly. The following sections in the Amazon Simple Storage Service API Reference describe the REST API actions related to the CORS configuration: