Upload
POSTUpload files directly or via chunked multipart up to 1GB.
curl -X POST https://the-cdn-website.nploc1209.workers.dev/api/upload \ -F "file=@photo.png"
Stream
GETStream or download files with HTTP Range seeking and edge caching.
curl -I https://the-cdn-website.nploc1209.workers.dev/f/<file-id>
Files
GETList all uploaded files and metadata sorted by date.
curl https://the-cdn-website.nploc1209.workers.dev/api/files
Delete
DELETEPermanently delete a file from R2 storage and the database.
curl -X DELETE https://the-cdn-website.nploc1209.workers.dev/api/files/<file-id>