Both REST and GraphQL work. Choose based on your needs.
REST:
- Simple, well-understood
- Multiple endpoints
- Can over-fetch (get data you don't need)
- Good caching via HTTP
GraphQL:
- Single endpoint
- Request exactly what you need
- Reduces over-fetching
- Complex caching
Frontend perspective: GraphQL shines when you have many different views needing different data shapes. REST works well when endpoints match your views.
Interview tip: Don't advocate strongly. Discuss tradeoffs for the specific scenario.