user437899
user437899

Reputation: 9259

Web API: HTTP verb 'OPTIONS'

Is there any support in the asp.net mvc 4 web api beta for the HTTP verb 'OPTIONS'? The framework does not automatically send a response. I think you have to do this by yourselve. But is there a method like: GetVerbsForUrl("http://server.com/api/values"); ?

Upvotes: 1

Views: 1828

Answers (1)

frennky
frennky

Reputation: 13934

There is a feature called ApiExplorer which can provide Web Api descriptions. You can see more details here:

Upvotes: 1

Related Questions