DotNetWikiBot Framework Documentation
Posts specified string to requested resource and gets the result text.

Namespace: DotNetWikiBot
Assembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0

Syntax

C#
public string PostDataAndGetResult(
	string pageURL,
	string postData,
	bool getCookies,
	bool allowRedirect
)

Parameters

pageURL
Type: System..::..String
Absolute or relative URI of page to get.
postData
Type: System..::..String
String to post to site with web request.
getCookies
Type: System..::..Boolean
If set to true, gets cookies from web response and saves it in Site.cookies container.
allowRedirect
Type: System..::..Boolean
Allow auto-redirection of web request by server.

Return Value

Type: String
Returns text.

See Also