How to upload to S3 with presigned URL
Dealing with presigned URL
Object storage is getting more and more popular. AWS started, but nowadays, almost every provider has it. Recently Cloudflare announced its availability. DigitalOcean call them Spaces.
So today, we are trying to upload a file to an S3 type of storage with a presigned URL.
TL;DR: how to generate the correct URL and upload data into it.