I am trying to make a chain on calls i.e. 1 -> 2 -> 3
The 2nd call is responsible to provide an array. I am reading the array response, storing it inside environment variable and then using below line to make the 3rd request.
There are 2 values in the collection. Hence, I assume two calls should be done for the 3rd API. But at present, it is only called once. How can I make the above line await for the response to come back and then iterate through the for loop again. At present, in the logs I see only one call, hence the above line is not even calling it multiple times.
Can anyone please let me know, what correction I need to do here …so that 2 calls are made to the 3rd API