RESTful API Flashcards

1
Q

What it means to have a REST API:

A

It’s way to interact with a site by telling it what to do

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

GET

A

If the object exists, get information about the object from the server

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

POST

A

If the object does not exist, create the object

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

PUT

A

If the object already exists, modify the object

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

DELETE

A

removes the existing object

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

The two parts of a unit of data sent over the internet by an app/system:

A
  • Header/overhead

- Payload

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

Header/overhead

A

An identifier sent with a unit of data that indicates the source and destination of the information being transmitted. The header is stripped once the data reaches its destination.

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

Payload

A

Part of the unit of transferred data that contains the info

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