🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Docs and Production: all 10 questions

Quiz: Docs and Production · Question 4 of 10

Why add pagination to GET /api/courses?

Why add pagination to GET /api/courses?

  1. A.REST requires it
  2. B.So one request can't load and send huge numbers of rows
  3. C.It makes POST requests faster
  4. D.JSON can't hold more than 100 items
Answer & explanation

Correct answer: So one request can't load and send huge numbers of rows

Page and size parameters keep responses small and fast.

Can you get the rest right without peeking?

Take the timed Quiz: Docs and Production quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →