Slide 12
Slide 12 text
Copyright ˅ All Right Reserved by Buzzvil
RESTful API
• A REST API is based completely on the HTTP standard. It manipulates
resource using HTTP methods.
• RESTful API applies the four basic functions of persistent storage, CRUD
(Create, Read, Update, Delete), to a set of resources using HTTP Methods
• Create - POST - for creation of resource
• Read - GET - for retrieving/reading a representation of resource
• Update - PUT - update one existing resource on the server with the
information contained on the request. However, PUT can also be used to
create resource if it is missing.
• Delete - DELETE - to delete a resource by providing its ID
• Safe methods - GET
• Idempotent methods - GET, PUT, DELETE