APIs Flashcards

1
Q

PUT

A

All fields in the resource you are updating should be added in the request body

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

PATCH

A

Allow for partial updates to only specific fields without affecting the others

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Pagination

A

Dividing a large dataset into smaller manageable pages that are displayed to the user one at atime

  • This significantly improves the user experience by preventing overwhelming amounts of data from loading on a single page.
  • Useful when dealing with large datasets or APIs
  • Faster load times
  • Allows for scalability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How pagination works

A
  • page size: the number of items displayed per page
  • page number: users select which page they want to view using a page number
  • pagination controls: buttons or links are provided to navigate between pages like “Next” or “Previous”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly