I have made an Spring Boot API to connect with my postgres database, and I’m following the instructions from here:
I’m using this structure in my aplication.properties:
spring.datasource.url=jdbc:postgresql://hostname/dbname?user=user&password=password
But now I’m trying to make a GET in Postman and it’s not working. It’s not even a failure in my API because I don’t get any signal in my console, so it’s not connecting. Maybe I’m not building the url correctly. Can anyone help me with this subject?
My url is like this:
http://hostname:port/myPath