Does ASP.NET MVC have any constants for the the strings "GET" and "POST"?
That is not a string!
JoelFan
2009-12-28 20:38:18
If you're looking for strings, see my answer.
SLaks
2009-12-28 21:01:44
You could use ToString, like this: HttpVerbs.Delete.ToString()
Richard
2010-05-20 11:00:46
+3
A:
You can also use the System.Net.WebRequestMethods.Http
class. (WebRequestMethods.Http.Get
and WebRequestMethods.Http.Post
)
SLaks
2009-12-28 16:04:06