Custom uploader without url #278
Replies: 2 comments 12 replies
-
Hi @bruceharrison1984, I believe what you're asking for is already possible with Uploady as it is today. See here the signature of the send method. You can pass your custom send method as a prop to Uploady. Im not familiar with Supabase SDK but I expect it shouldnt be difficult to integrate since you will be getting the File object from the Uploader in your custom send method. I'll move this thread to the discussions section. |
Beta Was this translation helpful? Give feedback.
-
That you very much @yoavniran! I read through the docs but didn't see any explicit mention of this so I incorrectly presumed it wasn't supported. I'll take a look, and thank you! |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I'm wanting to use uploady for images, but I am using Supabase as my backend. It doesn't support SignedUrls for uploads, so the only way it can be used is via the SDK. I'm sure there are other scenarios where this happens as well.
Describe the solution you'd like
A way to pass a custom upload function that allows me to send the file via SDK code.
Describe alternatives you've considered
Since Supabase doesn't allow generation of signed urls for upload, there aren't many outside of creating a proxy endpoint to receive the file FormData, and pass it along from there.
Additional context
None, but great work on this!
Beta Was this translation helpful? Give feedback.
All reactions