APIs, protocols and data formats · Shaping the call
API architectural styles-style app
Illustrative system design for a shaping the call app like API architectural styles: 4 topics to read, from requirements to deep dives.
Illustrative design, not API architectural styles’s actual implementation. Arrowbox is not affiliated with API architectural styles’s owner. Disclaimer
Start with REST Sign in to start readingUpdated 2 Oct 2026
Core
Resources at URLs, a handful of methods with agreed meanings, and status codes the browser and every cache already understand. The price is that a screen is rarely one resource, so the client pays in round trips or in bytes it didn't need.
The screen describes the exact shape it needs and gets it in one request. The client inherits a typed schema and a normalised cache, and gives up the HTTP cache, simple status codes and cheap requests unless it adds persisted queries.
Call a server function as if it were local, with types shared or generated end to end. The browser can't speak raw gRPC, so it goes through a web-compatible framing; tRPC skips schemas entirely when one TypeScript codebase owns both ends.
A thin server owned by the frontend team that turns many backend calls into the one response a screen needs, and the rules that let an API change without breaking clients already in people's pockets.