Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
28 Points
9 Posts
Microsoft
Feb 22, 2012 12:19 AM|LINK
Currently only GET, PUT, POST, DELETE can be implied from the action name. However, you should be able to attribute the action with AcceptVerbs("HEAD") to be able to allow HEAD requests.
[AcceptVerbs("HEAD")] public void Test(){}
vinelap
Member
28 Points
9 Posts
Microsoft
Re: WebAPI support HEAD verb?
Feb 22, 2012 12:19 AM|LINK
Currently only GET, PUT, POST, DELETE can be implied from the action name. However, you should be able to attribute the action with AcceptVerbs("HEAD") to be able to allow HEAD requests.
[AcceptVerbs("HEAD")] public void Test(){}