1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-02 20:52:28 +02:00
Files
OpenIntegrations/docs/en/examples/HTTP/SendDataInParts.txt
T

11 lines
378 B
Plaintext
Vendored

URL = "https://bin.openintegrations.dev";
URL = URL + "/put";
ChunkSize = 524288;
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Result = OPI_HTTPRequests.NewRequest()
.Initialize(URL)
.SetBinaryBody(Image)
.SendDataInParts(ChunkSize) // <---
.ReturnResponseAsJSONObject();