Playdate upload Firebase API issue

Hi All,

Anyone tried to use API to update data to Firebase? As I want to create a leaderboard in Firebase and have the Playdate game upload and retrieve score from there.

However, it is not working, and I tested with basic python script to confirm that Firebase setup, project ID and API are ok

question
Do I need to explicit enable the network settings in Playdate? And may I know how?

Where did you get this code? It doesn't appear to match how I understand the beta API to work?
edit: it might also be best to ask this in the beta section of the forums.

I am pretty new with Playdate, so not sure if this still under Beta...I will check the details and see. By the way, I have removed my code, since it is not valid any more.

Thanks again.