A simple example
GET /bookings?date=2026-11-03 returns the day's bookings as JSON; POST /bookings with booking details creates one; PATCH /bookings/123 changes its pickup time. Status codes such as 200, 404 and 422 tell the caller what happened.
REST versus GraphQL
REST is simple, cache-friendly and universally supported. GraphQL lets the client ask for exactly the fields it needs in one request, which helps complex front ends. Many systems offer REST for integrations and use GraphQL internally.
Questions, answered
Representational State Transfer, an architectural style described by Roy Fielding in 2000.
No, but JSON is by far the most common format.