jhagas / ESPSupabase

Connect ESP32/8266 with Supabase. Enhance your IoT project with open-source database service
MIT License
43 stars 15 forks source link

Adding upload to Storage support. #19

Closed haykodarb closed 7 months ago

haykodarb commented 7 months ago

I know there's an issue open but it's very poorly worded and for the sake of clarity I'm opening a new one.

I've been working on this the last couple of days and I've got a working version.

This was impossible to do with the HttpClient library, I had to do it manually with WifiClientSecure but I've finally got it working.

It needs further testing on a few things (especially when user has not logged in) but I'm fairly confident mostly everything works well.

I could drop the code here but I'd rather open a pull request just so I can keep retouching the code to fix bugs.