๐Ÿ”Œ API Patterns and Practices: REST
Chapters Examples Bibliography GitHub โ†—
Home / Large payloads & streaming
Part 7 3 chapters

Large payloads & streaming

Move large or continuous data over REST with Range requests, chunked transfer, SSE, and NDJSON, and recognize when to leave REST behind.

Chapter 15

Large binary resources & Range requests

Serve a large manifest without forcing clients to download it whole: HEAD for metadata, Accept-Ranges, byte-range requests answered with 206 Partial Content and Content-Range, and 416 for an unsatisfiable range.

26 minRead โ†’
Chapter 16

Streaming deep-dive

Push data as it is produced: chunked transfer encoding, Server-Sent Events for live updates, and NDJSON for bulk export โ€” and how to prove a response is delivered incrementally, not buffered.

28 minRead โ†’
Chapter 17

Cross-protocol choices

When to leave REST: how REST and SSE compare with WebSockets, webhooks, and gRPC for moving data, and which interaction shapes each one fits.

22 minRead โ†’
โ† Previous part Evolution & lifecycle Next part โ†’ Performance & transport

API Patterns and Practices: REST

Designing REST APIs well, with runnable examples in Quarkus and Python/FastAPI.

Site

  • Outline
  • Build & iteration plan
  • Coverage matrix
  • Domain glossary
  • Bibliography

Reference

  • OpenAPI 3.1 โ†—
  • AsyncAPI 3 โ†—
  • View on GitHub โ†—
  • Issues โ†—
Open source ยท MIT Last built 2026-10-17