Created
February 27, 2020 19:47
-
-
Save bjornmicallef/8b4f7a91606ce2083832462aa9c87f69 to your computer and use it in GitHub Desktop.
allow CORS on azure api management
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<policies> | |
<inbound> | |
<base /> | |
<cors> | |
<allowed-origins> | |
<origin>*</origin> | |
</allowed-origins> | |
<allowed-methods> | |
<method>GET</method> | |
<method>POST</method> | |
<method>OPTIONS</method> | |
</allowed-methods> | |
<allowed-headers> | |
<header>*</header> | |
</allowed-headers> | |
<expose-headers> | |
<header>*</header> | |
</expose-headers> | |
</cors> | |
</inbound> | |
<backend> | |
<base /> | |
</backend> | |
<outbound> | |
<base /> | |
</outbound> | |
<on-error> | |
<base /> | |
</on-error> | |
</policies> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment