Uploading to GCS using filePicker

What is the PROPER way to upload an image file from the filePicker using a signed Url (in my case it's Google Cloud Storage).

Main question: (the rest i can handle myself)
How do you get the binary data of the file input and put it correctly on the body of the upload query?

ChatGPT, DeepSeek, Claude, these forums, are ALL outdated regarding this matter.

  1. My goal: I want to be able to upload an image file to the GCS bucket with a signed url, using retool's filePicker
  2. Issue: No damn way to get the binary data to upload.
  3. Steps I've taken to troubleshoot: Tested all the edges, the signed url works and gets uploaded in postman.
  4. Additional info: if needed

@gioragen,
Using the google storage api, I uploaded the binary data like this:


Does this work for you?