If you need the list of records but paginated in one case, and the full list in another case, how to handle it? In this video we will show you three different ways to do that

0:00 Intro: Problem with Pagination
1:13 Trying a Separate API Endpoint
1:53 Add “all=1” parameter
3:15 Add “per_page” parameter
4:44 When Separate Endpoint is Better?
5:16 Maybe Enroll in my SPA/Laravel Course?

#laravel #php

Laravel API: Paginated/Full List - Same Endpoint or Separate?
1.90 GEEK