Broadcom-VMware
2V0-72.22 · Question #76
According to REST principles, which is the recommended way to update the order resource identified by 1234?
The correct answer is B. Send a PUT request to /orders/1234. See the full explanation below for the reasoning.
Question
According to REST principles, which is the recommended way to update the order resource identified by 1234?
Options
- ASend a PUT request to /orders/edit?id=1234.
- BSend a PUT request to /orders/1234.
- CSend a POST request to /orders/1234.
- DSend a POST request to /orders/edit?id=1234.
How the community answered
(60 responses)- A3% (2)
- B77% (46)
- C7% (4)
- D13% (8)
Community Discussion
No community discussion yet for this question.