I’m trying to do something unusual with testing my REST API. I want to test if the correct data is written to the database on PostgreSQL. For this I need to send Postman request but before that I need to somehow send standard SELECT to my database and put the response in global variable or environmental variable. I was searching in www if anyone has such idea but I didn’t found anything.
Is this possible to do something like I want by using Pre-scripts in Postman?
Sorry if this question is trivial but I’m curious if I can do something like that with Postman.