← 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?
- A.REST requires it
- B.So one request can't load and send huge numbers of rows
- C.It makes POST requests faster
- 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 →