AlgoViz

REST

easy 26 min

REST is a style for network APIs: everything worth naming gets an address, and a small shared set of HTTP methods acts on it.

Where it shows up

The same pattern appears across everyday software.

  • GitHub

    Runs a REST API beside a GraphQL API. Its REST documentation gives 60 requests an hour without sign-in and 5,000 with a personal token, asks clients to use ETags, and does not charge an authenticated 304 against the limit.

  • Stripe

    A payment API where every version 1 POST accepts an Idempotency-Key, so that a client that lost an answer can repeat the request safely.

  • Twilio

    States that its APIs for messages and calls are organised around REST.

  • X (Twitter)

    Its current developer API offers version 2 REST endpoints for posts, users, lists and messages.

  • Kubernetes

    Describes its API as resource based and RESTful. Each object carries a resourceVersion, which clients send back to detect a lost update.

  • Amazon S3

    Its REST API stores objects at URLs with PUT, GET and DELETE, and standard browsers and tools work with it.