Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

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

Summary

Performs a POST request with the body consisting of a series of key-value arguments, encoded in the multipart/form-data 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 contain file uploads.

See also