asp.net.ph

Request.HttpMethod Property

System.Web Namespace   HttpRequest Class


Gets the HTTP data transfer method ( such as GET, POST, or HEAD ) used by the client.

[ VB ]
Public ReadOnly Property HttpMethod As String

[ C# ]
public string HttpMethod {get;}

[ C++ ]
public: __property String* get_HttpMethod ( );

[ JScript ]
public function get HttpMethod ( ) : String;

Property Value

The HTTP data transfer method used by the client.

Example

The following example shows the simplest way to retrieve and display the HttpMethod for the current URL request.

<%= Request.HttpMethod %>

 Show me 

See Also

Request.RequestType   HttpRequest Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph