Skip to content

Instantly share code, notes, and snippets.

@raj-rajaratnam
Created December 7, 2014 05:51
Show Gist options
  • Save raj-rajaratnam/3b5ccd8875620903ca92 to your computer and use it in GitHub Desktop.
Save raj-rajaratnam/3b5ccd8875620903ca92 to your computer and use it in GitHub Desktop.
<CORSConfiguration>
<!--Configuration to enable/disable sending CORS headers from the Gateway-->
<Enabled>true</Enabled>
<!--The value of the Access-Control-Allow-Origin header. Default values are
API Store addresses, which is needed for swagger to function.-->
<Access-Control-Allow-Origin>*</Access-Control-Allow-Origin>
<Access-Control-Allow-Methods>GET,PUT,POST,DELETE,OPTIONS</Access-Control-Allow-Methods>
<!--Configure Access-Control-Allow-Headers-->
<Access-Control-Allow-Headers>tenant, enterprise, authorization, Access-Control-Allow-Origin, Content-Type</Access-Control-Allow-Headers>
</CORSConfiguration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment