Konrad Kowalski (rootsher)Principal Platform & Reliability Architect110110010110010101001100110010000010011010001110

API Contracts

posts (3)

  1. The Layers of HTTP in the Browser: From fetch() to QUIC2/9

    Methods and Status Codes: Semantics, Not Decoration

    The method and the status tell the browser and the infrastructure what may be done with a request. That is why retrying a POST is a different decision than…

  2. Ways of Talking to a Backend: From HTML Forms to GraphQL5/6

    RPC: When an API Models Operations Instead of Resources

    RPC starts from the operation, not the resource. Intent becomes explicit, but the semantics move out of HTTP and into the application contract.

  3. Ways of Talking to a Backend: From HTML Forms to GraphQL4/6

    REST: Resources, Representations, and HTTP Semantics

    REST is not "JSON plus endpoints". It is resources identified by URIs, representations kept separate from the resource, and the meaning of HTTP methods put to…