I have a web request that the smart variable in automation {{webResponse.body}} returns a list of values that look like this:
{ "apps": [ { "name": "Google" }, { "name": "Adobe" }
I'm trying to list just the values of the array like
Google
Adobe
{{webresponse.body.apps.get(0).name}}
shows us the first name in the array, but I can't seem to find any wildcard or iterate through the list options.
It looks like you figured out using a list iterator to get the values. Did you want to do something different than what you are showing?
Kind regards,
Bill
The closest I can get is adding 2 new lines
{{#webresponse.body.apps}}{{name}}
{{/}}
resulting in
Adobe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.