hi, i have a json response with a list, and sometimes it will return an empty list with empty brackets:
[
]
And, when it does I want to navigate to another page. Im imagining that i have to run a JS to tell it that if the result has a list in its response proceed to load the response to a certain page, else navigate to a different page (or popup)
here's a snapshot of what my test results look like when I get a list:
and heres a snapshot of what i get back when the list comes back empty: