Tagged “Rest”
3 articles with this tag.
- IdempotencyMaking operations safe to retry: what idempotency means for HTTP methods, idempotency keys for POST requests (storage, concurrency, expiry, request fingerprinting), idempotent message consumers, natural idempotence, conditional writes, and a Spring Boot implementation with a filter and database constraint.
- REST vs GraphQL vs gRPC vs messagingChoosing an API style: resource-oriented REST over HTTP, client-shaped GraphQL queries, contract-first gRPC with Protocol Buffers over HTTP/2, and asynchronous messaging — how each works, performance, coupling, caching, streaming, versioning, tooling, browser support, and when to use which (often several in one system).
- REST design & error handlingDesigning REST APIs with Spring: resources and URIs, HTTP methods, idempotency and status codes, validation, DTOs, pagination, versioning (Spring Framework 7 API versioning), idempotency keys, HATEOAS and OpenAPI docs, plus global error handling with @RestControllerAdvice and RFC 9457 Problem Details, and HTTP interface clients.