Thank you for your message.
I was able to deploy the application through the same article that you have been using to connect to Firebase RealTime Database and to read item from it through the HTTP request. So, this way I confirmed that you will not have any issues with using the provided code.
Regarding the question whether only HTML is supported in App Engine, did you mean HTTP requests? If so, then App Engine supports various methods to connect to different platforms. You just need to use the appropriate library in order to use another method of connection.