Configuration of H2 database with postman

Can we connect h2 database with postman to retrieve real time data from the database. If yes, can anyone help me out on how to progress on this. Thanks

@telecoms-saganist-44 Warm welcome to the community :partying_face:

Kindly spare a minute reading this which helps you to ask better questions in the forum :blush:

From your statement I understand that you are trying to connect to H2 database using Postman.

Do you have any idea about the API’s for H2 database? We need API’s to connect the applications via Postman. Unless you are aware about the API’s or API documentation for H2 database there’s no possibility for the connection to the DB directly.

To get some more idea on it, there are public workspaces for some other DB’s. Please read through it :slightly_smiling_face:

1 Like

I have a similar problem; I’ve been experimenting with setting up an H2 Database, and when I try to send a GET request to the API address (http://localhost:8080/api/v1/sessions), I get nothing back even though I know the database is up and running.

There’s not even a proper 404 error or anything, it just says “could not get response” and “error: aborted”. I could understand having issues with someone else’s API, but when it’s right here on my own PC? It baffles me, frankly.

Any suggestions on how I might fix this?