Untitled
unknown
plain_text
4 years ago
528 B
8
Indexable
const list = [{
term: 'blockchain',
profile: 'courses',
urls: ['https://something/study/something', 'https://another.good.thing/']
}, {
term: 'blockchain',
profile: 'courses',
urls: ['https://something/study/something', 'https://another.good.thing/']
}]
let i=0
for (let search in list) {
i++
postman.setEnvironmentVariable("term", search.term);
postman.setEnvironmentVariable("profile", search.profile);
if (i > 4) {
break;
}
}
------
{
"profile": "{{profile}}",
"query": "{{term}}",
}
Editor is loading...