Realtime database (Firebase) HTTP request Format

I want to be able to send an HTTP request to a real-time database in Firebase. The problem I’m having is that I can’t seem to figure out how to structure the HTTP request. I don’t either wanna use an open resource project because I want to make it on my own. So if it were to break I could understand it and fix it.

If anyone can help with this, thank you!