What Are CRUD Operations in RESTful API

Q

What Are CRUD Operations in RESTful API?

✍: FYIcenter.com

A

CRUD (Create, Retrieve, Update and Delete) Operations in RESTful API refers to 4 primary operations that are supported by most REST compliant software:

  • Create Operation - Implemented mostly with HTTP POST method. Allows client to create a new resource on the server.
  • Retrieve Operation - Implemented mostly with HTTP GET method. Allows client to retrieve an existing resource from the server.
  • Update Operation - Implemented mostly with HTTP PUT method. Allows client to update an existing resource on the server.
  • Delete Operation - Implemented mostly with HTTP DELETE method. Allows client to delete an existing resource from the server.

It is also suggested that the Update Operation being divided into 2 variations:

  • Full Update Operation - Implemented mostly with HTTP PUT method. Allows client to update an existing resource with all attributes fully replaced on the server.
  • Partial Update Operation - Implemented mostly with HTTP PATCH method. Allows client to update an existing resource with some attributes partially replaced on the server.

 

Create REST Project in SoapUI

Terminologies Used in RESTful API

Testing REST API with SoapUI

⇑⇑ SoapUI Tutorials

2018-03-24, 1790🔥, 0💬