1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-16 11:38:11 +02:00
OpenIntegrations/docs/en/examples/VK/UploadPhotoToServer.txt

8 lines
281 B
Plaintext

Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
TFN = GetTempFileName("png");
FileCopy(Image, TFN);
ImageUpload = OPI_VK.UploadPhotoToServer(Image, Parameters);
ImageUpload = OPI_VK.UploadPhotoToServer(TFN, Parameters);