Umm, right. Rest::Client does not do any paging. You said that it's on the server. So that means that you will have to provide the parameters or headers necessary to Rest::Client in the call it makes, and write a wrapper that collates the results from the various requests.
What does the documentation of the API you are calling say about paging?
The way forward always starts with a minimal test.
| [reply] |
| [reply] |
The only documentation is an example in an appendix.
Where can one read that documentation?
I was really hoping this came up enough that an existing module supported it, or e.g. that LWP::UserAgent had the hooks in it to add support for it.
Sorry but you still haven't explained the problem, what are you talking about?
"Paging" is just looping. https://metacpan.org/release/REST-Client/source/lib/REST/Client.pm is a thin wrapper around LWP, and LWP has plenty of hooks.
Its like a delivery driver asking a car mechanic, does my car have paging? Can you add a paging module?
Dear delivery driver, you are the pager :) You drive for pickup, you drive for delivery, repeat, ...
| [reply] |