You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
12 lines
349 B
Plaintext
Vendored
12 lines
349 B
Plaintext
Vendored
URL = FunctionParameters["HTTP_URL"];
|
|
URL = URL + "/post";
|
|
|
|
Image = FunctionParameters["Picture"]; // URL, Path or Binary Data
|
|
|
|
Result = OPI_HTTPRequests.NewRequest()
|
|
.Initialize(URL)
|
|
.SetBinaryBody(Image)
|
|
.UseGzipCompression(False) // <---
|
|
.ProcessRequest("POST", False)
|
|
.ReturnRequest();
|