Supporting the OPTIONS verb in ASP.NET Web API

added by JefClaes
9/3/2012 5:06:07 AM

4 Kicks, 365 Views

ASP.NET Web API controllers support only four HTTP verbs by convention: GET, PUT, POST and DELETE. The full list of existing HTTP verbs is more extensive though. One of those unsupported verbs which can be particularly useful for API discovery and documentation is the OPTIONS verb.