I need to exclude verbs allowed for an API solution, but I can't find examples how to do it in web.config
.
I did find an example for MVC that looks like this:
<configuration>
<system.web>
<httpHandlers>
<remove verb="*" path="MyPage.aspx" type="MyHandler, MyAssembly"/>
<add verb="*" path="MyPage.aspx" type="MySpecialHandler, MyAssembly"/>
</httpHandlers>
</system.web>
</configuration>
Is this how I should do it for an API as well?
If so, what should I put in the place of path
?