While I was doing a project I encountered this concept. CRUD methods are 4 basic functions used to manage data. These actions map directly to database commands and web protocols.

  • Create: Adds new data entries to a system. In SQL, this uses the INSERT command, and in web APIs, it uses the POST method.

  • Read: Fetches and views existing data without changing it. In SQL, this uses the SELECT command, and in web APIs, it uses the GET method.

  • Update: Edits or changes data that is already saved. In SQL, this uses the UPDATE command, and in web APIs, it uses PUT or PATCH.

  • Delete: Removes unwanted data from the system. In SQL, this uses the DELETE command, and in web APIs, it uses the DELETE metho