You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
Main build (Jenkins)
This commit is contained in:
11
docs/en/examples/HTTPClient/UseGzipCompression.txt
vendored
Normal file
11
docs/en/examples/HTTPClient/UseGzipCompression.txt
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
URL = "https://httpbin.org";
|
||||
URL = URL + "/post";
|
||||
|
||||
Image = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
.Initialize(URL)
|
||||
.SetBinaryBody(Image)
|
||||
.UseGzipCompression(True) // <---
|
||||
.ProcessRequest("POST", False)
|
||||
.ReturnRequest();
|
||||
Reference in New Issue
Block a user