- Home
- API Design
- Comparison between REST and CR ...

Create, Read, Update, and Delete — or CRUD — are the four major functions used to interact with database applications. The acronym is popular among programmers, as it provides a quick reminder of what data manipulation functions are needed for an application to feel complete.
Many programming languages and protocols have their own equivalent of CRUD, often with slight variations in how the functions are named and what they do. For example, SQL — a popular language for interacting with databases — calls the four functions Insert, Select, Update, and Delete. With a little nudging, CRUD also maps to the major HTTP methods.
CRUD’s origins are in database records now CRUD now has applications in the HTTP protocol, DDS and SQL. CRUD can be thought of as a cycle rather than an architectural system.
On the other hand, Representational State Transfer — or REST — is a popular architectural style for software, especially web APIs. REST — is an architectural style for providing standards between computer systems. It’s defined by five design constraints that, when followed, produce an application with specific properties, including performance, simplicity, and reliability.
REST is a defining set of principles for developing an API. Uses HTTP protocols like GET, PUT, POST, and DELETE to link resources to actions within a client-server relationship. The principles of RESTful architectures serve to create an application as a lighter-weight alternative to SOAP. APIs may be web-based or designed for specific platforms such as Android or iOS, and a REST API makes it easy to implement other interfaces or applications over time which can turn an initial project from a single application into a platform.