System.Web Namespace HttpRequest Class
Sets or retrieves the HTTP data transfer method ( GET or POST ) used by the client.
[ VB ]
Public Property RequestType As String
[ C# ]
public string RequestType {get; set;}
[ C++ ]
public: __property String* get_RequestType ( );
public: __property void set_RequestType ( String* );
[ JScript ]
public function get RequestType ( ) : String;
public function set RequestType ( String );
A String representing the HTTP invocation type sent by the client.
The following example shows the simplest way to retrieve and display the RequestType for the current URL request.
<%= Request.RequestType %>
Show me
Request.HttpMethod HttpRequest Members