How to Connect to a Database from Postman

Let’s say you are testing an API and need to check something in the database from Postman. Maybe you have submitted some data and want to see if it was really saved in the database. Maybe you need to get some test data from a database How to do a simple SQL query from Postman?

Valentin Despa
APIs with Valentine
5 min readDec 26, 2022

--

What is the best practice when dealing with this problem?

--

--

Valentin Despa
APIs with Valentine

Software developer, educator & overlander • GitLab Hero • AWS Community Builder • Postman Supernova • Imprint: http://vdespa.com/imprint