1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-27 21:48:56 +02:00
OpenIntegrations/docs/en/examples/S3/UploadFullObject.txt

13 lines
459 B
Plaintext
Raw Normal View History

2024-11-21 17:19:25 +03:00
 URL = "storage-155.s3hoster.by";
AccessKey = "BRN5RKJE67...";
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
Name = "pictureSmall.jpg";
Bucket = "opi-gpbucket3";
Entity = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Path or Binary Data
Result = OPI_S3.UploadFullObject(Name, Bucket, Entity, BasicData);