Discovering REST Architecture in APIs
In Postman’s latest State of the API survey, REST remains the dominant architectural style, used by 93.4% of respondents. As engineers we often develop APIs over HTTP, designing the URI structures and implementing HTTP methods, status codes, request and response headers, safe and idempotent methods, payloads, authentication, caching, and more.
APIs are often called RESTful. So what exactly is REST? How does it relate to HTTP?
To answer these we’ll consult the person who coined the concept. We start in Roy Fielding’s dissertation in a place aptly entitled “Chapter 5 Representational State Transfer”.
Vincent Van Gogh. Siesta. 1890
REST is a network-based architectural style for distributed applications. Fielding outlines REST with 6 constraints.
- Client-server architecture: User agent as the client initiates a request and becomes the ultimate recipient of...
Continue reading →