Click or drag to resize

WebScraperPostRequest Method (String, ActionResponse, DictionaryString, String, MetaData)

Request adds a new request to the scrape-job queue using the POST http method.

Namespace:  IronWebScraper
Assembly:  IronWebScraper (in IronWebScraper.dll) Version: 4.0.4.25470 (4.0.4.3)
Syntax
public virtual void PostRequest(
	string url,
	Action<Response> parse,
	Dictionary<string, string> postVaraibles,
	MetaData metaData
)

Parameters

url
Type: SystemString
The absolute url to be fetched. Developers may use Response.ToAbsoluteUrl to resolve all relative links to Absolute Url strings.
parse
Type: SystemActionResponse
The method to be used to parse the Response (often this is WebScraper.Parse)
postVaraibles
Type: System.Collections.GenericDictionaryString, String
The POST variables as a dictionary of key-value pairs.
metaData
Type: IronWebScraperMetaData
Additional information of any Type can be sent with the request and then re-read when the response is parsed .
See Also