1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-25 21:39:21 +02:00
OpenIntegrations/docs/en/examples/S3/SendRequestWithBody.txt
Vitaly the Alpaca (bot) 7591e2c05e Main build (Jenkins)
2024-11-15 10:05:19 +03:00

12 lines
386 B
Plaintext

URL = "storage-155.s3hoster.by";
AccessKey = "BRN5RKJE67...";
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
Method = "PUT";
Body = "C:\test_data\document.docx"; // URL, Path or Binary Data
Result = OPI_S3.SendRequestWithBody(Method, BasicData, Body);