Retool + Supabase, how to post to object storage with API?

I would like to upload file from Retool to Supabase Storage through the REST API.

This is the tip from the Supabase side, I m trying to figuring how to get "readmeStream" from Retool side.

I try to set the content as "Raw" before but it won't work, it become something like this https://gjuucwcqgeylbnvjaolz.supabase.in/storage/v1/object/public/test/170161225_4457665517584932_542165625088410652_n.jpg

I try to set the content as "Binary", but getting error like this "The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined"

Screenshot for how I set for Raw.
Screenshot for how I set for Binary

please let me know what need to be done to fix this?

anyone can help for this?

Hey knight, sorry for the delay on this. As you mentioned, the new file button stores the file meta data separately from the file data itself. Stitching them together will avoid the "The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined" error.

We are looking into this, and will update everyone when we have a solution.

Have you found a solution to this yet?

Yeah, I wrote a post about it Upload Files To Supabase Storage using Retool
Basically you need to merge the value before posting