070-486J Free Dumps Study Materials
Question 10: あなたは、ASP.NET MVCアプリケーションを開発しています。
アプリケーションは、RESTful APIをサードパーティ・アプリケーションに提供します。
このAPIは、情報をHTTP
POSTのURLに埋めることによって、接触のために情報を更新します。
サードパーティ・アプリケーションがEditContact方法を使用するとき、あなたはContactタ
イプを保存する必要があります。
あなたは、どのコード部分を使わなければなりませんか?{各正解は完全なソリューション
を提供します。当てはまるものをすべて選択してください。)
A. Option A
B. Option B
C. Option C
D. Option D
Correct Answer: B,C
Explanation:
Basics of RESTful services:
REST stands for Representational State Transfer, it is a simple stateless architecture that
runs over HTTP where each unique URL is representation of some resource. There are four
basic design principles which should be followed when creating RESTful service:
* Use HTTP methods (verbs) explicitly and in consistent way to interact with resources
(Uniform Interface), i.e. to retrieve a resource use GET, to create a resource use POST, to
update a resource use PUT/PATCH, and to remove a resource use DELETE.
Etc.