Postman Chrome: how to use variables from an array for the URL

Viewed 357

Sorry to bother you, but I really would use some help on the below:

I am using Postman Chrome extension against an Rest API. My URI is like the following and the request type is PUT:

PUT https://{{api-fqdn}}/some/path/to/something/ROLE111

I have about 100 roles with different names.

Instead of passing each time different role name at the end of the URI, how could I use Postman to scan an array and replace all the values inside using a variable, such as {{rolename}}?

Thanks a ton in advance!

1 Answers
Related