Introduction - Quiz
Total: 24 questions
1. The difference between SOAP and REST.
The difference between SOAP and REST.
- SOAP is a messaging protocol, and REST is a style of software architecture for distributed hypermedia systems.
- A response is transferred to the client as the body of an HTTP response message in REST. And a SOAP message is encapsulated as the body of a transport message.
- SOAP uses HTTP as a transport protocol and REST is based on it.
- A response in REST can be in different formats and SOAP is tied to XML.
- SOAP works with operations and REST with resources.
2. What does acronym REST mean?
3. The central abstraction in REST.
4. What is a resource in the RESTful sense?
5. Does Resource have a state?
6. What lays at the core of the RESTful approach?
What lays at the core of the RESTful approach?
It is the idea that HTTP is an API and not simply a transport protocol. And the original meanings of the HTTP verbs should be respected.
7. Name HTTP verbs.
Name HTTP verbs.
GET, POST, PUT, DELETE, HEAD, OPTIONS
8. What does GET HTTP verb mean in terms of CRUD?
9. What does POST HTTP verb mean in terms of CRUD?
10. What does PUT HTTP verb mean in terms of CRUD?
11. What does DELETE HTTP verb mean in terms of CRUD?
12. When the HTTP verb HEAD is used?
13. How response is transferred to the client in REST?
14. How a response is transferred to the client in a SOAP-based service?
15. What does this HTTP verb/URI pair mean: POST exams?
What does this HTTP verb/URI pair mean: POST exams?
Create a new exam from the request data.
16. What does this HTTP verb/URI pair mean: GET exams?
What does this HTTP verb/URI pair mean: GET exams?
Read a list of all exams.
17. What does this HTTP verb/URI pair mean: GET exams/14?
What does this HTTP verb/URI pair mean: GET exams/14?
Read info about exam with id 14.
18. What does this HTTP verb/URI pair mean: PUT exams?
What does this HTTP verb/URI pair mean: PUT exams?
Update the exam list with the request data.
19. What does this HTTP verb/URI pair mean: DELETE exams?
What does this HTTP verb/URI pair mean: DELETE exams?
Delete the exam list.
20. What does this HTTP verb/URI pair mean: DELETE exams/14?
What does this HTTP verb/URI pair mean: DELETE exams/14?
Delete exam with id 14.