Frends.HTTP.SendAndReceiveBytes / 1.5.0
Summary
Sends a binary body and returns a binary response, keeping both directions undecoded.
Typical use — APIs that exchange documents or archives in both directions
Input class
| Name | Type | Default | Example | Description |
|---|---|---|---|---|
| Method | Method |
POST |
GET |
The HTTP Method to be used with the request. Possible values:
|
| Url | String |
https://example.org/path/to |
https://example.org/path/to |
The URL with protocol and path. You can include query parameters directly in the url. |
| ContentBytes | Byte[] |
– | { "Body": "Message" } |
The content to send as byte array |
| Headers | Header[] |
– | Name: Header, Value: HeaderValue |
List of HTTP headers to be added to the request. |