Click or drag to resize

PostWebRequest Constructor (Uri, String, String)

Initializes a new instance of the PostWebRequest class, specifying the destination, request data and content type.

Namespace:  NScrape
Assembly:  NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax
public PostWebRequest(
	Uri destination,
	string requestData,
	string contentType
)

Parameters

destination
Type: SystemUri
Specifies the destination of the request.
requestData
Type: SystemString
Contains the request data.
contentType
Type: SystemString
Contains the MIME content type.
Remarks
Format the request data per the specified MIME content type.
Examples
var request = new PostWebRequest( new Uri( "http://www.foo.com" ), "data data data", "text/plain" );
See Also