Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam 2V0-72.22 All Questions

View all questions & answers for the 2V0-72.22 exam

Exam 2V0-72.22 topic 1 question 66 discussion

Actual exam question from VMware's 2V0-72.22
Question #: 66
Topic #: 1
[All 2V0-72.22 Questions]

According to REST principles, which is the recommended way to update the order resource identified by 1234?

  • A. Send a PUT request to /orders/edit?id=1234.
  • B. Send a PUT request to /orders/1234.
  • C. Send a POST request to /orders/1234.
  • D. Send a POST request to /orders/edit?id=1234.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
2211094
5 months, 1 week ago
B correct answer because A is not standard in REST. This approach is not standard in REST. The PUT method is typically used to update or create a resource at a specific URL, but the query parameter (?id=1234) is not part of the standard RESTful pattern.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...