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

HttpRequestBase.RequestType Property

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

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

public virtual string RequestType { get; set; }

Property Value

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



.NET Framework

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