CCNA: Cisco Certified Network Associate — Question 1285
Which set of methods is supported with the REST API?
Answer options
- A. GET, PUT, ERASE, CHANGE
- B. GET, POST, MOD, ERASE
- C. GET, PUT, POST, DELETE
- D. GET, POST, ERASE, CHANGE
Correct answer: C
Explanation
The correct answer is C, which includes the standard HTTP methods supported by REST APIs: GET for retrieving data, PUT for updating data, POST for creating resources, and DELETE for removing resources. Options A, B, and D include methods that are not standard in the REST API context, such as ERASE and CHANGE, which are not recognized HTTP methods.