So I just want to keep things simple and set auth === "StringKey" for write so I am able to write in the database if the key is matched. I've tested "StringKey" with the simulation it works too. However I do not know where to enter the key on HttpPost.
I've tried https://fake-project-name.firebaseio.com/datatable1.json?auth=“StringKey” but I kept getting returns “error”: “Could not parse auth token.”, I'm not sure what's wrong with the JSON syntax I entered.
I've tried adding {"Authentication":"Basic 'StringKey'"} but not sure what I am doing for this part.
Thanks in advance for any help.
Firebase Realtime Database rules: