Rest_Restful Flashcards
is an architectural style for designing networked applications. It was introduced by Roy Fielding in his doctoral dissertation in 2000.
REST
Representational State Transfer
refers to web services or
APIs that are built adhering to the principles and constraints of REST.
RESTFUL
8 HTTP methods
- GET
- POST
- PUT
- DELETE
- PATCH
- HEAD
- TRACE
- OPTION
means that each request from a client to a server is independent of any other request.
Statelessness
means that the server retains information about the client’s state across multiple requests.
Statefulness
Characteristics of Statelessness
(idea lang)
- Independence
- Scalability
- Simplicity
- Reliability
Characteristics of Statefullness
(idea lang)
- Session Managament
- Complexity
- Scalability (both sila ng statelessness)
- User Experience
Retrieve data from a server.
GET
Submit data to be processed to a specified resource.
POST
Update a resource or create a new resource at a specified URL.
PUT
Remove a resource from the server.
DELETE
Partially update a resource.
PATCH
Retrieve the headers for a resource, without the response body.
HEAD
Describe the communication options for the target resource.
OPTIONS
Perform a message loop-back test along the path to the target resource.
TRACE