Hi. I want to keep a collection variable from my response randomly in order to use it in the next request in the same folder.
I need to pick "id"s randomly as collection variables. How can I do that ? Thank you in advance.
Here is my response:
{
“status”: “success”,
“response”: [
{
"id": "5cbda77e82ba2c38f751a6ff",
"preview_url": "https://picture.jpg",
"width": 1024,
"height": 576,
"license": "gold"
},
{
"id": "5c4b24be9785183d57985cf7",
"preview_url": "https://picture.jpg",
"width": 1536,
"height": 1024,
"license": "gold"
},
{
"id": "5c485d30d34c7850aa821275",
"preview_url": "https://picture.jpg",
"width": 1536,
"height": 1024,
"license": "gold"
},
{
"id": "5bd9b971b7e954523088ab30",
"preview_url": "https://picture.jpg",
"width": 1024,
"height": 1024,
"license": "gold"
},
{
"id": "5c780d855afbc36ee0801727",
"preview_url": "https://picture.jpg",
"width": 1024,
"height": 1280,
"license": "gold"
}
],
"metadata": {
"next_page": "https://sitenext804859084395304750734058904830958.com"
}
}