Skip to content
Dev.to1 min read

How to Upload Files and Get Public URLs with One...

If you've ever needed to upload a file and get a public URL for a webhook, automation workflow, or just sharing. You know the pain of setting up S3 buckets, IAM policies, and CDN distributions. I built FilePost to make this a one liner. Upload a file curl -X POST https://filepost.dev/v1/upload \ -H "X-API-Key: fh_your_key" \ -F "file=@photo.png" Get a CDN URL { "url": "https://cdn.filepost.dev/file/filepost/uploads/a1/a1b2c3.png", "file_id": "a1b2c3d4e5f6", "size": 84210 } That's it. The URL is
Read original on dev.to
0
0

Comment

Sign in to join the discussion.

Loading comments…

Related

Get the 10 best reads every Sunday

Curated by AI, voted by readers. Free forever.

Liked this? Start your own feed.

0
0