Skip to content

Instantly share code, notes, and snippets.

@brydavis
Created September 17, 2019 01:41
Show Gist options
  • Save brydavis/befca8133aaaafa9a0077c1098618680 to your computer and use it in GitHub Desktop.
Save brydavis/befca8133aaaafa9a0077c1098618680 to your computer and use it in GitHub Desktop.
Example of AWS CORS policy
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>DELETE</AllowedMethod>
<AllowedMethod>HEAD</AllowedMethod>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment