Which option lists the HTTP methods commonly used to perform CRUD operations in REST?

Prepare for the Certified Ethical Hacker Version 11 Exam. Study with comprehensive questions and explanations. Equip yourself with the skills needed for success!

Multiple Choice

Which option lists the HTTP methods commonly used to perform CRUD operations in REST?

Explanation:
In REST, CRUD actions map directly to HTTP methods: Read uses GET to fetch data, Create uses POST to add new data, Update uses PUT to replace an existing resource (with PATCH for partial updates as another option), and Delete uses DELETE to remove a resource. The set GET, POST, DELETE, PUT includes exactly these four operations, so it best represents the standard CRUD methods. PATCH is used for partial updates, but the core CRUD mapping is covered by GET, POST, PUT, and DELETE.

In REST, CRUD actions map directly to HTTP methods: Read uses GET to fetch data, Create uses POST to add new data, Update uses PUT to replace an existing resource (with PATCH for partial updates as another option), and Delete uses DELETE to remove a resource. The set GET, POST, DELETE, PUT includes exactly these four operations, so it best represents the standard CRUD methods. PATCH is used for partial updates, but the core CRUD mapping is covered by GET, POST, PUT, and DELETE.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy