HtmlFormSubmitRequest Method (String, Boolean, WebResponseType) |
Submits the form, specifying the request data, redirection action, and the expected response type.
Namespace:
NScrape.Forms
Assembly:
NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax protected WebResponse SubmitRequest(
string requestData,
bool autoRedirect,
WebResponseType validType
)
Protected Function SubmitRequest (
requestData As String,
autoRedirect As Boolean,
validType As WebResponseType
) As WebResponse
protected:
WebResponse^ SubmitRequest(
String^ requestData,
bool autoRedirect,
WebResponseType validType
)
member SubmitRequest :
requestData : string *
autoRedirect : bool *
validType : WebResponseType -> WebResponse
Parameters
- requestData
- Type: SystemString
Contains the request data in application/x-www-form-urlencoded format. - autoRedirect
- Type: SystemBoolean
true if the request should be automatically redirected; false otherwise. - validType
- Type: NScrapeWebResponseType
Contains the expected response type.
Return Value
Type:
WebResponseThe response from the server.
Remarks
This overload is convenient when the redirection action needs to be specified.
See Also