4 ms·
The pattern i'm suggesting is how most mobile apps i'm familiar with work anyway. Though some have made the mistake using an AWS SDK in the client, rather than
by andrewingram 9y ago
The pattern i'm suggesting is how most mobile apps i'm familiar with work anyway. Though some have made the mistake using an AWS SDK in the client, rather than just using presigned URLs.
Basic pattern is:
Client: Hey API server, I want to upload a file
API: Sure, here's a URL you can PUT the file directly to. It will expire in 10 minutes, you can always ask for another if you run out of
time
Client: Thanks!
-- Client uploads file directly to URL --