HttpMethods.IsPost(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates if the HTTP request method is POST.
public:
static bool IsPost(System::String ^ method);
public static bool IsPost (string method);
static member IsPost : string -> bool
Public Shared Function IsPost (method As String) As Boolean
Parameters
- method
- String
The HTTP request method.
Returns
true
if the method is POST; otherwise, false
.