Module 07 Β· Building a REST API β Lesson 1 of 3 Β· ~9 min
Status codes & responses
What REST actually means
So far your handlers just wrote text back. A REST API is a discipline for shaping those handlers: you expose resources (walkers, bookings) and act on them with HTTP verbs.
GET /walkersβ read the list of walkersPOST /bookingsβ create a bookingGET /bookings/42β read booking 42DELETE /bookings/42β cancel it
The verb says what to do; the path names the thing. The PawWalk iOS app you built spoke exactly this language β every screen was a GET or a POST to a path like these.