You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-12-03 22:39:12 +02:00
967 B
967 B
sidebar_position
| sidebar_position |
|---|
| 5 |
Upload file by URL
Uploads a file to the cloud drive by fetching it from the specified URL
Function UploadFileByURL(Val Token, Val FileURL, Val Path) Export
| Parameter | CLI option | Type | Description |
|---|---|---|---|
| Token | --token | String | Token |
| FileURL | --url | String | URL source of the file |
| Path | --path | String | Save path on Dropbox |
Returns: Map Of KeyAndValue - serialized JSON response from Dropbox
Path = "/New/url_doc.docx";
Token = "sl.B-iqyqXWh8YCVSZnVG0BwXxLlHNbfCDJrGlOyhjKnx1cAwPeSV71gjqQ1iR0QLna032Hn-HZjE...";
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Result = OPI_Dropbox.UploadFileByURL(Token, URL, Path);
{
".tag": "async_job_id",
"async_job_id": "GB72x7EzrHQAAAAAAAAAAQ"
}