How to validate the response body with sql database

The data is already available in the database, Looking to validate that the response body data from the API displays the same data that is currently in the SQL database. Is there a way through Postman we can validate that the API data matches the database data…? Any alternate way for validation.

Hey @ranjiths1983 ,

Does your database allow for API queries? If so then you can query it directly and compare to the other API. Otherwise I’m afraid you’ll have to do it manually for now.