exam questions

Exam 70-487 All Questions

View all questions & answers for the 70-487 exam

Exam 70-487 topic 1 question 39 discussion

Actual exam question from Microsoft's 70-487
Question #: 39
Topic #: 1
[All 70-487 Questions]

DRAG DROP -
You are developing an ASP.NET MVC Web API application.
The method names of the Web API must match naming guidelines for RESTful services.
You need to create methods to support standard insert, select, update, and delete operations in an HTTP service.
What should you do? (To answer, drag the appropriate HTTP methods to the correct row in the table in the answer area. Each HTTP method may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
To update a data (here customer), PUT is the preferred method.
References:
http://msdn.microsoft.com/en-us/library/ff478141.aspx

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
kvijen
4 years, 5 months ago
I think POST is more correct for update and PUT for create.
upvoted 1 times
Tinashe16
4 years, 5 months ago
No. POST is for create. PUT is for update. Those are the standard HTTP rules.
upvoted 5 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago