Week 9: RESTful Web Services Flashcards
What is REST?
Representational State Transfer is an Architectural principle of the WWW (sometething that conforms to this is RESTful)
What information does the client not need to know to use REST?
Info about:
- the server
- it’s resources
What are the features of REST?
Resources:
1. Identified by a URI (persistent Identifier)
2.Manipulated using CRUD (Create, Read, Update,
Delete ) else (POST, GET, PUT, DELETE)
3.Retrieved as HTML, XML or JSON
4. Maintain their state
5. Are linked
6. Describe usage, discarding/refetching circumstances
(HTTP Cache-Control headers)
How is the representation retrieved set?
It’s defined by the accept header in the request
Why is HATEOAS used?
To provide responsces that are SELF DESCRIPTIVE and LINK TO OTHER RESOURCES
What does HATEOAS stand for?
Hypermedia As The Engine Of Application State