200-301 · Question #1563
Which CRUD operation corresponds to me HTTP GET method?
The correct answer is D. read. The HTTP GET method is used to retrieve data from a server, which directly corresponds to the 'Read' operation in CRUD.
Question
Options
- Adelete
- Bcreate
- Cupdate
- Dread
How the community answered
(52 responses)- A6% (3)
- B2% (1)
- C4% (2)
- D88% (46)
Why each option
The HTTP GET method is used to retrieve data from a server, which directly corresponds to the 'Read' operation in CRUD.
The HTTP DELETE method is used to remove a specified resource, corresponding to the 'Delete' CRUD operation.
The HTTP POST method is typically used to submit new data to a specified resource, corresponding to the 'Create' CRUD operation.
The HTTP PUT or PATCH methods are typically used to modify an existing resource, corresponding to the 'Update' CRUD operation.
The HTTP GET method is designed to request a representation of the specified resource and retrieve data from a server, aligning precisely with the 'Read' operation in the CRUD paradigm.
Concept tested: HTTP methods and CRUD operations
Source: https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
Topics
Community Discussion
No community discussion yet for this question.