1Z0-599 · Question #22
Identify four valid requests in a RESTful service using JAXRS.
The correct answer is A. GET B. PUT D. DELETE E. POST. The following principles encourage RESTful applications to be simple, lightweight, and fast: Resource identification through URI Uniform interface: Resources are manipulated using a fixed set of four create, read, update, delete operations: PUT, GET, POST, and DELETE. PUT…
Question
Identify four valid requests in a RESTful service using JAXRS.
Options
- AGET
- BPUT
- CUPDATE
- DDELETE
- EPOST
- FREMOVE
How the community answered
(18 responses)- A89% (16)
- C6% (1)
- F6% (1)
Explanation
The following principles encourage RESTful applications to be simple, lightweight, and fast: * Resource identification through URI * Uniform interface: Resources are manipulated using a fixed set of four create, read, update, delete operations: PUT, GET, POST, and DELETE. PUT creates a new resource, which can be then deleted by using DELETE. GET retrieves the current state of a resource in some representation. POST transfers a new state onto a resource. See Responding to HTTP Methods and Requests for more information. * Selfdescriptive messages * Stateful interactions through hyperlinks
Topics
Community Discussion
No community discussion yet for this question.