Interview practice question
Designing REST endpoints for a blog
System Design · APIs and Communication · Beginner
Design the main REST endpoints for a simple blog with posts and comments.
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- GET/POST /posts.
- GET/PUT/DELETE /posts/{id}.
- GET/POST /posts/{id}/comments.
- Pagination and filters on lists.
- Proper status codes.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.