Error Returned When Using IIS 7.5 on Windows Server 2008 R2 Machine

If you are attempting to call App Broker REST API endpoints on a machine using IIS Version 7.5 (which is shipped with Windows Server 2008 R2), the response returns the following error:

405 - HTTP verb used to access this page is not allowed. The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access

To resolve this issue, add the following this section to the ~\App Portal\Web\Web.config file:

<system.webServer>

<modules runAllManagedModulesForAllRequests="true">

<remove name="WebDAVModule"/>

</modules>

</system.webServer>