DotNetWikiBot Framework Documentation
Assembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0
Returns text.
Posts specified string to requested resource
and gets the result text.
Namespace: DotNetWikiBotAssembly: 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: StringReturns text.