RESTful

RESTful API, or Representational State Transfer API, is a popular architectural style for building web services.

It is simple and easy to use, compared to previouse generation of web services architectures like SOAP.

RESTful API is resource-centric. All operations, including Create, Retrieve, Update, and Delete (CRUD), are performed on specific resources.

In HTTP those oparations are represented by HTTP Methods:

  • GET: Retrieves a resource.
  • POST: Creates a new resource.
  • PUT: Updates an existing resource.
  • DELETE: Deletes a resource.