Developer Guides
Short, practical walkthroughs for getting files onto the web with cdn22.net — from your first API upload to permanent CDN URLs and direct-from-the-browser uploads. Every guide is copy-paste, uses the real API, and skips the boilerplate.
How to upload a file via API (web → CDN)
Step-by-step: take a file from a browser or app and turn it into a permanent CDN URL with three API calls — request a presigned URL, PUT the bytes, confirm. With curl, browser fetch, and Node.js examples.
Read the guide →Next.js file upload tutorial (App Router)
Step-by-step Next.js App Router tutorial: upload files to a permanent CDN URL via a Route Handler, a Server Action, or a direct browser upload.
Read the guide →Retool file upload & storage (File Input → CDN URL)
Store files from a Retool app on cdn22.net without wiring up S3, IAM, or CORS: a JavaScript query uploads the selected file and returns a permanent CDN URL you can drop into tables, forms, and dashboards.
Read the guide →Upload GitHub Actions artifacts to a CDN URL
A tested GitHub Actions workflow that uploads a build report with presign, raw PUT and confirm, then publishes the CDN URL only after the upload is confirmed.
Read the guide →Fix browser upload CORS and signature errors
Tell account authorization, presign, browser preflight, raw-byte PUT, confirm and delivery problems apart when a browser upload fails, with synthetic examples and a sanitized support summary.
Read the guide →Start shipping files today
cdn22.net is prepaid and pay-as-you-go — you pay only for what you store and serve.