- Input
- A fictional shop app needs an order list with only the order number and status on a phone screen.
- Assumption
- The back end could be built either way.
What happens
- A REST design returns a fixed order record from its address, and the app uses the parts it needs.
- A GraphQL design lets the app ask only for order number and status.
- Either way the app shows the same list to the customer.
- Result
- Both work. The difference is who decides the shape of the response: the server or the client.
- Where it stops
- Neither style fixes slow code, unclear data or missing permissions.