Week 9: RESTful Web Services Flashcards

1
Q

What is REST?

A

Representational State Transfer is an Architectural principle of the WWW (sometething that conforms to this is RESTful)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What information does the client not need to know to use REST?

A

Info about:

  • the server
  • it’s resources
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the features of REST?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How is the representation retrieved set?

A

It’s defined by the accept header in the request

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why is HATEOAS used?

A

To provide responsces that are SELF DESCRIPTIVE and LINK TO OTHER RESOURCES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does HATEOAS stand for?

A

Hypermedia As The Engine Of Application State

How well did you know this?
1
Not at all
2
3
4
5
Perfectly