I'm trying to connect to a Firebase Realtime database using their RESTApi. To get realtime data from it, I have to send a http_get request with the header Accept being equal to 'text/event-stream'
Here's how I did it:
var url, header, payload, _session;
url = "https://[DATABASE]/servers.json"...