Created
September 30, 2020 03:11
-
-
Save cruzmayra/7601d992b6bcdb265d665928eecacb41 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Hay que modificar el archivo applicationHost.config para poder aceptar el método PUT. | |
Referencia: https://www.azuretechguy.com/applicationhost-config-file-in-azure-app-service | |
* Agregar extensión IIS Manager a Azure webapp | |
* En applicationHost.xdt agregar lo siguiente: | |
<?xml version="1.0" encoding="utf-8"?> | |
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |
<system.webServer> | |
<security> | |
<requestFiltering> | |
<verbs allowUnlisted="true" xdt:Transform="Replace"> | |
<add verb="GET" allowed="true" /> | |
<add verb="HEAD" allowed="true" /> | |
<add verb="POST" allowed="true" /> | |
<add verb="PUT" allowed="true" /> | |
<add verb="DELETE" allowed="true" /> | |
<add verb="OPTIONS" allowed="true" /> | |
</verbs> | |
</requestFiltering> | |
</security> | |
</system.webServer> | |
</configuration> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
acá otra versión con el IIS Manager: https://gist.github.com/tzkmx/f783a1e30ce905b6ddc93f56f2ad74f8