1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-04 20:54:02 +02:00
Files
OpenIntegrations/docs/en/examples/HTTPClient/UseGzipCompression.txt
T
Vitaly the Alpaca (bot) 204d714af5 Main build (Jenkins)
2025-09-23 10:13:09 +03:00

12 lines
380 B
Plaintext
Vendored

URL = "https://bin.openintegrations.dev";
URL = URL + "/post";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Result = OPI_HTTPRequests.NewRequest()
.Initialize(URL)
.SetBinaryBody(Image)
.UseGzipCompression(False) // <---
.ProcessRequest("POST", False)
.ReturnRequest();