How to pass data from postgresql to resquest body on postman?

Is it possible to fetch data from postgresql database and pass to response body on postman