Obtain data from two related REST services
Hello.
In my app, I have a rest service with show me info abot a gift, and a unique identifier of the gift.
Another rest service gives me the photos of the gift, but I have to give it the unique identifier of the gift.
When I try to list the gifts, and each one with its photo, all the times the photo is the same.
I have saved the unique identifier of the gift into a hidden label, and I have also saved it into a local variable. But every gift show the photo of the first gift.
How can I make a request to the rest service of the photos using the unique identifier of each gift (and not always the unique identifier of the first gift)?
I wish this complicated explanation can be understand.
Thanks.