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"); ?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top