By framework

File Upload API for every stack

Working code, idiomatic for your framework. POST a file, get a permanent CDN URL. Same API everywhere.

Get free API key 300 uploads / mo free · no credit card
Multiple programming languages on screen

Pick your framework

Every page below has a copy-paste working example, the typical gotchas (CORS, multipart boundaries, progress bars, error states), and a side-by-side cost comparison vs S3 or DIY.

More frameworks landing weekly. While we ship them, the underlying API is the same everywhere — see the file upload API guide or curl examples.

Why a per-framework page

The file-upload primitive is identical — one POST with multipart form data. But the code around it isn't. React wants a controlled FormData. Django wants request.FILES. Next.js routes look different from Express middleware. We write the page for the developer who already picked their stack.

Don't see your stack?

The API is plain HTTPS multipart. Anything that does HTTP can talk to it — the curl example works as a Rosetta stone. API docs are here.

Related guides

Questions we actually get

Do I need a separate API key per framework?

No. One FilePost API key works from any client — browser, server, mobile, CLI. The endpoint is https://filepost.dev/v1/upload regardless of stack.

What about file size limits per framework?

Limits are set by your FilePost plan, not the framework. Free is 50 MB per file, Starter 200 MB, Pro 500 MB. Your framework's own body-parser limit may also kick in (Express defaults to 100 KB, Django to 2.5 MB) — turn that up to match.

Should I upload from the browser or the server?

Browser is simpler and cheaper — fewer hops, no bandwidth on your server. Server-side is better when you need to validate, transform, or sanitize before storage. The framework pages call out which path is idiomatic for that stack.

Is there an SDK?

No SDK. The API is small enough that fetch / requests / axios is the SDK. Less to break, less to update, less in your bundle.

Whatever you ship in, FilePost is one POST away.

One POST request, one permanent URL. Free tier covers most side projects forever.

Get free API key 300 uploads / mo · 50 MB max · no credit card