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
...
Log in to ExamTopics
Sign in:
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.
2211094
5 months, 1 week ago