REST essentials
Representational State Transfer (REST) APIs exchange the representations of a resource in different formats (for example, JSON, XML, and others) between a server and client, using the existing mechanisms of the web, such as HTTP protocols, verbs, and response codes. The same APIs can be used as the backend for different apps (for example, web, mobile, and so on), based on different UI technologies (for example, Angular and React). Traditional MVC applications use a server-side view technology (such as JSP, ASP.net, PHP, and so on) that is tied to the backend code, and changing UI requires changing backend.
REST defines six architectural constraints, namely uniform interface, client-server, stateless, cacheable, layered system, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access