Declaration
public HResponse Post(
string url,
params HArg[] args
)
Summary
Performs a POST request with the body consisting of a series of key-value arguments.
Parameters
string | url |
The URL of the request. If the URL does not begin with http:// or https:// , it is automatically
prepended with HClient.RootUrl. |
HArg[] | args |
The arguments to pass with the POST request. Null values are allowed and ignored. |
Returns
The response received from the server.
Remarks
This method automatically calls either
HClient.PostFormdata(string, params HArg[]) or
HClient.PostUrlencoded(string, params HArg[]) depending on
whether the provided arguments contain any file uploads or not.