How to edit data using Web API Put, Patch, Delete, etc

How do you edit data using the Web API? (Because the firebase components don’t offer that much of using it with operations like Create, Read, Update, Delete. All we get is Save (Create, Update) and Get (Read) for the firebase components (And you don’t get to use the cloud storage of firebase.))

Delete is basically overwriting the existing data and is accomplished by SAVING null values to the required key.

You can do all the crud with Firebase data using the cloud variables.

I’ve been poking at our team about the second point. Would our community benefit from having the Firebase login access token so a user can then also use Firebase storage/ functions/ firestore

At the moment we only have access via blocks to Firebase authentication and real time database.

1 Like

Not actually saving NULL values, but delete the property itself.

1 Like

When you save null to the parent key, all child keys are removed (deleted).


deleting the child keys and the value of the property without putting any null value, and making sure it can’t be restored just by changing the value.

Or do I have to code a function to edit without parsing from JSON (like not editing it the normal way?)

Can you give an example of this? A before and after example?

Have you tried @muneer’s suggestion for saving a null value to the parent key… and did that work for you?

1 Like

Nope. It didn’t work.

1 Like

Can you provide an example?
I know it always works.

1 Like

This is decent information but not enough to help. Can you show what you’ve tried?

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.