You need to create methods to support standard insert, …

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:

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:

Answer:

Explanation:
To update a data (here customer), PUT is the preferred method, but as it is not available here, the second best
suggestion is POST.
http://msdn.microsoft.com/en-us/library/ff478141.aspx



Leave a Reply 2

Your email address will not be published. Required fields are marked *


peter

peter

For update a customer should be option ‘put’ instead of post.
This option is not present on the available list, so in the matter of fact, ‘post’ is only one accurate.

Larsen

Larsen

Should be put instead of post when updating, though put is missing?