harshil1712
CDCloudflare Developers
•Created by jaybee on 1/27/2025 in #r2
hey guys i’m really struggling with
ah true. I thought this was for uploading. If it's for viewing, as mentioned you can check the auth, and if valid use the S3 API to fetch the image.
23 replies
CDCloudflare Developers
•Created by jaybee on 1/27/2025 in #r2
hey guys i’m really struggling with
Is this pre-signed URL or directly the S3 API?
23 replies
CDCloudflare Developers
•Created by jaybee on 1/27/2025 in #r2
hey guys i’m really struggling with
There are different ways to do achieve this. We don't share in the docs, because we want the users to have the freedom to think how they want to do this. You can use the Workers API with auth, or setup pre-signed URLs, but again with proper auth.
23 replies
CDCloudflare Developers
•Created by jaybee on 1/27/2025 in #r2
hey guys i’m really struggling with
Hey, we have the documentation for that. Did you check that?
23 replies
CDCloudflare Developers
•Created by jaybee on 1/27/2025 in #r2
hey guys i’m really struggling with
Hey, can you please elaborate what are you trying to do? How are you trying to access your bucket? Is your next.js app hosted on Workers? Without much details, it is really difficult to understand your struggles and provide any help.
Here's also a repo that might help: https://github.com/harshil1712/nextjs-r2-demo
23 replies
CDCloudflare Developers
•Created by ayushh on 1/26/2025 in #general-help
Generate R2 Objecs Public URL
You can setup your domain and to make your bucket public. You can access the file with something like: sub.domain.tld/file/key
6 replies
CDCloudflare Developers
•Created by ayushh on 1/26/2025 in #general-help
Generate R2 Objecs Public URL
Hey, this is a pre-signed URL. Not sure if that's what you are looking for
6 replies
CDCloudflare Developers
•Created by Pascal on 1/21/2025 in #general-help
Help with Laravel R2 Integration - "Header 'x-amz-checksum-crc32' Not Implemented"
Hey, this is caused due to the recent change in the AWS SDKs. You can find a solution here: https://developers.cloudflare.com/r2/examples/aws/aws-sdk-php/
2 replies
CDCloudflare Developers
•Created by Rubi on 1/17/2025 in #r2
got an error
yes, I tested it myself. If you really need checksum, you might have to wait for the implementation? I am sorry, but I don't have the correct answer for you.
6 replies
CDCloudflare Developers
•Created by Rubi on 1/17/2025 in #r2
got an error
Yeah, for CopyObject it seems like you don't have to do anything with the checksum.
6 replies
CDCloudflare Developers
•Created by Rubi on 1/17/2025 in #r2
got an error
Can you share the exact code? It works for me, so not sure why it won't work for you
6 replies
CDCloudflare Developers
•Created by filiptibell on 1/11/2025 in #r2
So, after some thought and thorough
Thank you for the feedback. This is really helpful. What I have done for now is created an issue on GitHub to make sure this doesn't get lost. In the coming weeks, I'll work on this and try to make it better. Here's the GitHub issue link: https://github.com/cloudflare/cloudflare-docs/issues/19190
3 replies
CDCloudflare Developers
•Created by karenr on 1/11/2025 in #general-help
What authentication do you use when you’re using cloudflare d1?
Hey, with D1 you can simply use any auth lib/provider and connect it. You have the flexibility to select which auth lib/provider you want to use. I have a very basic example in Remix: https://github.com/harshil1712/remix-d1-auth-template
3 replies