Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save goldhand/742ac0c3653d76f66f48 to your computer and use it in GitHub Desktop.
Save goldhand/742ac0c3653d76f66f48 to your computer and use it in GitHub Desktop.
XMLHttpRequest cannot load {resource}. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '{request_origin}' is therefore not allowed access
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>access-control-allow-origin</AllowedHeader>
<ExposeHeader>access-control-allow-origin</ExposeHeader>
</CORSRule>
</CORSConfiguration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment