Andrés Méndez
Posts: 0
Joined: Thu Apr 18, 2013 6:13 pm

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.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Obtain data from two related REST services

Andrés, where do you store the photos?
Show us please the mapping for your services.

Also use the Network tab to see the actual request is being sent and what id is being sent.That should show whether the correct id is sent ( http://docs.appery.io/documentation/a... )

Andrés Méndez
Posts: 0
Joined: Thu Apr 18, 2013 6:13 pm

Obtain data from two related REST services

Hello Alena.

I have answered with that data by private.

Thanks,
Andrés.

Return to “Issues”