Skip to content

Instantly share code, notes, and snippets.

@SunDi3yansyah
Created January 27, 2021 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SunDi3yansyah/6cbaba4a91af1bf56edd0e5ef6d1d294 to your computer and use it in GitHub Desktop.
Save SunDi3yansyah/6cbaba4a91af1bf56edd0e5ef6d1d294 to your computer and use it in GitHub Desktop.
Cross-origin resource sharing (CORS) for AWS S3

Cross-origin resource sharing (CORS) for AWS S3

[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "GET",
            "POST",
            "PUT",
            "DELETE",
            "HEAD"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": [
            "ETag"
        ]
    }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment