Replit Database - How do I return the list of keys as JSON?

Hello there,
I'm trying to make a submit system in Express, but I need it to be returned as a JSON.
I tried this:

but everytime i make a GET request to /getDataBase, it doesn't return anything. Could anyone help?

You are viewing a single comment. View All

@Coder100 it doesn't return anything. It just keeps on loading, no message says "XHR Request/Fetch finished loading" and when I navigate to the page with the password and user, it just keeps on loading.