Page
Content
Hello -
we have a third party printing service that has exposed a REST API. When we call this service it returns us XML response that has repetition element called <imageLocation> </imageLocation> and we get multiple images.
Issue is this REST API can return only 100 records ( 100 of imageLocation) at a time. But it does return us a entire URL ( URL has parameter called offset=100 and ) in the response indicating these are more records to come. We have to extract that entire URL from response and call the service with this new extracted URL to fetch next batch of 100 (this time URL will have offset=200)... we repeat this process till the point a URL in response will indicate nextPage=no
0