NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpRequest.HttpMethod

HTTP data transfer method used by client (GET, POST).

[Visual Basic]
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

A String representing the HTTP Invocation Type sent by client (GET, POST, etc)

Example

[Visual Basic]
<%-- This example receives a string representing the Http
Method into the variable sMethod --%>
<%
Dim sMethod
sMethod = Request.HttpMethod
%>

See Also

HttpRequest Class | HttpRequest Members | System.Web Namespace