Upload and save pdfs to a R2 bucket
Hey!
I'm developing an iOS app that needs to upload PDF files to a server. I was thinking of using Cloudflare Workers as an intermediate step before uploading the files to an R2 bucket.
What would be the best way to achieve this? What are the most efficient and secure methods for uploading PDFs from an iOS app to a Cloudflare Worker and then to an R2 bucket?
Thanks in advance!
1 Reply
either streaming it through the worker or creating presigned urls on the worker and use these urls on the ios app for uploading the file(s)
i'd personally prefer presigned urls