Hi all. Regarding file uploads to Supabase... I have followed the instructions from @Erik Beuschau at https://discord.com/channels/972416966683926538/1040267068412534785/1126116566929510420 but this does not seem to be resulting in my being able to upload a recognizable and usable IMAGE file. Both of my API calls are working, or at least not erroring, but I keep getting files in Supabase NAMED blahblah.png but containing only 2 - 11 bytes of information. I have my acceptable mime types on the back-end set to wide open for the moment. I even have my in-API Content-type Header being dynamically determined by the file type meta-data... and the image preview in-app works fine (see attached) but still cannot crack this. Thoughts?
Lucas G
1 year ago
content-type should be multipart/form-data
Lucas G
1 year ago
Also, maybe the supabase upload package may help you
Oh... toddle package! Gotcha. Sorry. I thought that you meant there was something additional on the Supabase side that I needed. Thanks! I'll look into all suggestions above.