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
2
Q
GET
A
If the object exists, get information about the object from the server
3
Q
POST
A
If the object does not exist, create the object
4
Q
PUT
A
If the object already exists, modify the object
5
Q
DELETE
A
removes the existing object
6
Q
The two parts of a unit of data sent over the internet by an app/system:
A
- Header/overhead
- Payload
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.
8
Q
Payload
A
Part of the unit of transferred data that contains the info