#rest
Posts tagged with “rest”.
5 posts
01
Designing API Error Responses That Help
A good error response tells the client what went wrong and what to do. Learn the status codes, the body shape, and the validation errors.
02
API Pagination Patterns: Offset, Cursor and Keyset
Offset, cursor and keyset pagination each trade simplicity for correctness. Learn the trade-offs and which to choose for a large dataset.
03
API Versioning Strategies Compared
URL, header and media-type versioning each break a client differently. Learn the trade-offs and how to make a change without a new version.
04
GraphQL vs REST: Choosing the Right API Style
GraphQL and REST solve different problems. Learn the trade-offs, the costs GraphQL adds, and the cases where each is the better fit.
05
REST API Design Principles That Age Well
A well-designed REST API is predictable and hard to break. Learn resources, methods, status codes, versioning, and pagination.