Upload a file to a folder
documentedAdd a file to a folder (overwrite if exists).
POST {site_url}/_api/web/GetFolderByServerRelativeUrl('/path/to/folder')/Files/add(url='filename.ext',overwrite=true)Filesno implementation yet0 runsInput
site_url*
SharePoint site URL (host + path, without https://)
contoso.sharepoint.com/sites/MySite
server_relative_path*
Server-relative path to the target folder
/sites/MySite/Shared Documents/Folder
filename*
Name of the file to create/upload
document.txt
local_file_path*
Path to the local file to upload
./files/report.pdf
mime_type
MIME type of the file being uploaded
application/octet-stream
form_digest_value*
X-RequestDigest value
<form digest value>
Calls Microsoft SharePoint as you (your API key is your account); keychains.dev holds the credentials.