Hi all,
I’m fairly new to postman, also I hope this is not already answered somewhere else (I did not find it).
I have a json file with approximately 12000 objects in it, they look like this:
{
“Number”: “13461346”,
“Title”: “(GR)BS1053”,
“Equipment No”: “5092”,
“Planned Start Date”: “01/08/2020”,
“Planned End Date”: “01/08/2020”
},
{
“Number”: “3461346”,
“Title”: “GR6008 14K”,
“Equipment No”: “5022”,
“Planned Start Date”: “01/08/2020”,
“Planned End Date”: “02/08/2020”
},
{
“Number”: “6136”,
“Title”: “(RTW)DT5171”,
“Equipment No”: “5022”,
“Planned Start Date”: “01/08/2020”,
“Planned End Date”: “02/08/2020”
},
etc.
For each object in this file I need to do a PUT to my API with url https://url:port/{{Number}}
How do I easily create a collection that will create a PUT request for each object and sends it to the url with the correct {{Number}} property from that specific object?
Thanks in advance.