I created a custom module in order to consume an external api call in my drupal project following this question. The module is working fine, but I need to have a pagination in the received results which will pass as a variable in the api call:
http:/example.com/api.ashx?q=documents&page=1
How is possible to achieve that? In case I receive all the data from the api is it possible to "separate" them somehow with pagination operation?
Thanks in advance