I am using this API for search:
The response is:
- Total results is 7
I need to get results in pagination mode so I updated the API to become:
The response is:
- Total results is 5
- Current page is 1
If I changed the current page 2, the response supposed to be:
-Total results is 2
- Current page is 2
But, I got the same result in the page 1.