Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: HResponse Post(string, byte[], string)

Declaration

public HResponse Post(
    string url,
    byte[] bytes,
    string contentType
)

Summary

Performs a POST request with the body of the request specified as raw data.

Parameters

stringurl The URL of the request. If the URL does not begin with http:// or https://, it is automatically prepended with HClient.RootUrl.
byte[]bytes The body of the request, as raw data.
stringcontentType The value of the Content-Type header.

Returns

The response received from the server.