[Obsolete("Use ZennoPoster.HTTP instead.")] public static string HttpPost( string url, byte[] content, string contentPostingType, string proxy, string Encoding, ResponceType respType, int Timeout, string Cookies, string UserAgent, bool UseRedirect, int MaxRedirectCount, string[] AdditionalHeaders, string DownloadPath, bool UseOriginalUrl )
Parameters
- url
Type: System.String
Target address of request.
- content
Type: System.Byte[]
The content of post request.
- contentPostingType
Type: System.String
The type of content.
- proxy
Type: System.String
Proxy string (for example: socks5://llogin:pass@8.5.6.7:8080).
- Encoding
Type: System.String
Encoding format.
- respType
Type: ZennoLab.InterfacesLibrary.Enums.Http.ResponceType
Response type (cane take values: BodyOnly, HeaderOnly, HeaderAndBody, File).
- Timeout
Type: System.Int32
Timeout in milliseconds of request.
- Cookies
Type: System.String
Cookies for request.
- UserAgent
Type: System.String
UserAgent for request.
- UseRedirect
Type: System.Boolean
true if use redirect; otherwise, false.
- MaxRedirectCount
Type: System.Int32
Maximum count of redirects.
- AdditionalHeaders
Type: System.String[]
An array of captures an array of additional headers.
- DownloadPath
Type: System.String
Download path for file.
- UseOriginalUrl
Type: System.Boolean
true if use original url; otherwise, false.
Return Value
Type: System.String
The result of request.