
Every REST API I've Seen in Production Violates REST. Nobody Cares.
Roy Fielding must be spinning in his still-very-much-alive chair. The man who coined REST in his 2000 dissertation watches as an entire industry slaps "REST API" labels on endpoints that would make him weep into his coffee. And you know what? We're all better for it. Every "RESTful" API I've audited in fifteen years of backend work commits the same sins. They return JSON instead of hypermedia. They stuff action verbs into URLs like /api/users/123/activate . They ignore HATEOAS completely. They treat HTTP status codes like suggestions rather than contracts. But here's the uncomfortable truth: these "violations" make APIs faster to build, easier to consume, and simpler to maintain. The Academic REST vs The Real World True REST, as Fielding envisioned it, demands six constraints. Stateless communication, cacheable responses, uniform interface, layered system, code on demand, and the big one that trips everyone up: hypermedia as the engine of application state. HATEOAS means your API respo
Continue reading on Dev.to Webdev
Opens in a new tab




