I’ve built a local node server for interacting with a cloud database and I’m using Postman for the UI. I’m trying to find an example or tutorial that shows how I can loop through a JSON file to initialize the database. Things I’ve found so far have given me bits and pieces, but I’m not sure how to put it all together.
For instance, some examples that I have seen use variables in the request URL for object attributes, but these examples have only one or two attributes. My JSON objects have multiple attributes and so I am trying to see how to replace the request body for each iteration of the loop with the current object’s attribute/value pairs.
Any leads in the right direction would be greatly appreciated.