First of all, I don’t know anything about Cloudflare workers, I only know Javascript.
I’m trying to create a Cloudflare workers to get access to files stored in my R2 using an https request (especially photos) but using the codes provided by the Cloudflare documentation, I’ve only been getting error messages
I’ve already added R2 in the workers’ variables, I’ve tried other codes provided by the documentation, they all have errors, below some of them.
Please note that Worker is a demonstration as well - not for production use, but just to showcase the APIs. It’d allow anyone to send a DELETE request that’ll remove a given file.