API Design
22 practice items · needed by 4 roles
Easy 8Medium 8Hard 6
Practice questions
- Offset or cursor paginationmedium
- Token bucket rate limitermedium
- A 64-bit id changes after parsingmedium
- Saving req.body directlymedium
- Safe retries for paymentshard
- Status code after creating a resourceeasy
- Which method is idempotenteasy
- PATCH vs PUT for one fieldeasy
- Posts vanish from GET linkseasy
- URL for a user’s orderseasy
- Dates sent through JSONeasy
- Response for an empty listeasy
- Offset vs cursor paginationmedium
- One schema for form and APImedium
- Returning form validation errorsmedium
- Preventing double charges on retryhard
- Large IDs change in the browserhard
- Two agents edit one tickethard
- Items missing between pageshard
- Duplicate posts in an infinite feedmedium
- Duplicate orders from offline retrieshard
- Idempotent requestseasy