Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: HResponse PostUrlencoded(string, params HArg[])

Declaration

public HResponse PostUrlencoded(
    string url,
    params HArg[] args
)

Summary

Performs a POST request with the body consisting of a series of key-value arguments, encoded in the application/x-www-form-urlencoded format.

Parameters

stringurl 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

Choose this format for requests that need to be small and do not contain any file uploads.

See also