how to enable only GET & POST HTTP method in asp.net

691 views Asked by At

I would like to have only GET & POST methods enabled in my application. How I need to add the code for the same in web.config file ???

<add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" /> 

this is the code that i have in my web.config file

0

There are 0 answers