200-301 · Question #1069
Which set of methods is supported with the REST API?
The correct answer is C. GET, PUT, POST, DELETE. Using HTTP Methods for RESTful Services The HTTP verbs comprise a major portion of our “uniform interface” constraint and provide us the action counterpart to the noun-based resource. The primary or most-commonly-used HTTP verbs (or methods, as they are properly called) are POST,
Question
Which set of methods is supported with the REST API?
Options
- AGET, PUT, ERASE, CHANGE
- BGET, POST, MOD, ERASE
- CGET, PUT, POST, DELETE
- DGET, POST, ERASE, CHANGE
How the community answered
(34 responses)- A3% (1)
- B6% (2)
- C91% (31)
Explanation
Using HTTP Methods for RESTful Services The HTTP verbs comprise a major portion of our “uniform interface” constraint and provide us the action counterpart to the noun-based resource. The primary or most-commonly-used HTTP verbs (or methods, as they are properly called) are POST, GET, PUT, PATCH, and DELETE. These correspond to create, read, update, and delete (or CRUD) operations, respectively. There are a number of other verbs, too, but are utilized less frequently. Of those less-frequent methods, OPTIONS and HEAD are used more often than others.
Topics
Community Discussion
No community discussion yet for this question.