Hello all, we found a solution that seems working with min.IO S3 API.
1- add a component Image input
2- create a JS in order to convert To Base64, call the JS ConvertToBase64 or whatever you want
return utils.getDataByObjectURL(photo_capture.value[0])
.then(base64Data => {
return base64Data.split(',')[1];
});
3- Create a ressource query to your S3 API called upload_S3
Action type : Upload Data
Bucket name : your_bucket_name
S3 Content-Type : Binary
Upload file name : your_filename.jpg
Upload Data : {{ ConvertToBase64.data }}
4- create a JS script called script_S3 to orchestrate the 2 others
await ConvertToBase64.trigger();
await upload_S3.trigger();
I hope this can help, my context is
Retool Self Hosted v3.75.21
S3 Storage min.IO self hosted
Phone : Samsung S25 Ultra
Big up to David my ass kicking associate that found this solution ![]()