recommend some best practices for exploring the server response with a large list of items?

A common approach is to use paging i.e. a client sends a request with a page number and a number of items per a page. In return it gets a requested chunk of items along with total count of items.

Request:

https://www.sample.com/items?page=1&count=50

Response:

{
  items: [<up to 50 items here>],
  count: 2400
}

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top