Upload simplifies file uploading & file processing for web apps. CDN & storage included.
Follow our documentation for a quick setup:
To upload files with cURL:
Option 1: using a binary request body:
curl "https://api.upload.io/v2/accounts/{accountId}/uploads/binary" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: text/plain" `# change to match the file's MIME type` \ -d "Example Data" `# to upload a file: --data-binary @file.jpg`
Option 2: using a multipart/form-data request body:
curl "https://api.upload.io/v2/accounts/{accountId}/uploads/form_data" \ -H "Authorization: Bearer YOUR_API_KEY" \ -F file=@image.jpg # File must exist locally. Always include the '@'.
Next: see downloading files and processing files.
This website uses cookies. By continuing you are consenting to the use of cookies per our cookie policy.
This website requires a modern web browser -- the latest versions of these browsers are supported: