Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HttpMethod Property

HttpRequestBase.HttpMethod Property

When overridden in a derived class, gets the HTTP data-transfer method (such as GET, POST, or HEAD) that was used by the client.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual string HttpMethod { get; }

Property Value

Type: System.String
The HTTP data-transfer method that was used by the client.



.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
© 2015 Microsoft