Description
Upload files to Dropbox from a URL, text contents or base64.
API
To run the act, send a HTTP POST request to:
https://api.apify.com/v2/acts/petr_cermak~dropbox-upload/runs?token=<YOUR_API_TOKEN>
The POST payload will be passed as input for the act. For more information, read the docs.
Example input
Content type: application/json; charset=utf-8
{
"accessToken": "DROPBOX_TOKEN",
"filePath": "DROPBOX_FILE_PATH",
"fileUrl": "FILE_TO_UPLOAD"
}
Readme
act-dropbox-upload
Apify act for uploading files to Dropbox.
It is capable of uploading a file accessible at a URL or by setting its contents as text or base64.
INPUT EXAMPLES
Uploading a file from URL
{
"accessToken": "DROPBOX_TOKEN", // dropbox access token
"filePath": "DROPBOX_FILE_PATH", // path on dropbox to save the file to
"fileUrl": "FILE_TO_UPLOAD" // url to get the file from
}
Uploading a file as text
{
"accessToken": "DROPBOX_TOKEN", // dropbox access token
"filePath": "DROPBOX_FILE_PATH", // path on dropbox to save the file to
"fileContents": "FILE_CONTENTS" // contents of the file as text
}
Uploading a file as base64
{
"accessToken": "DROPBOX_TOKEN", // dropbox access token
"filePath": "DROPBOX_FILE_PATH", // path on dropbox to save the file to
"fileBase64": "FILE_CONTENTS" // contents of the file as base64
}