1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-06 21:04:14 +02:00
Files
OpenIntegrations/docs/en/examples/HTTPClient/SendDataInParts.txt
T
Vitaly the Alpaca (bot) 650e8edb41 Main build (Jenkins)
2025-11-10 20:18:08 +03:00

12 lines
382 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();