We need to keep the server sustainable. One way of doing that would be to limit the number of records loaded from GET /api/infected and take a page param. Something like /api/infected?page=2. The response would need to include data either in the header or body to tell the client how many more pages there are.
We need to keep the server sustainable. One way of doing that would be to limit the number of records loaded from
GET /api/infected
and take a page param. Something like/api/infected?page=2
. The response would need to include data either in the header or body to tell the client how many more pages there are.