I am working on implementing an API interface for my project.
As i know, there are different forms to make pagination through the results, like the following:
But, i see many APIs like google use a different approach, in which they use a "pageToken" to let the user move between the pages of results, for example:
So instead of
page=2 they used
It is not clear for me the idea of pageToken and how to implement it!
It will be helpful if you guide me to any resources so i can get more knowledge.