HTTP Flashcards
HTTP
-Hyper Text Transfer Protocol
-Transmission of Hyper Text across the World Wide Web
-Request:Response Model between Client:Server
-Stateless: info is not retained about the client on the server and previous interaction data
HTTP Methods
-GET, POST, PUT , PATCH, DELETE, OPTIONS, HEAD
GET
Retrieve data
POST
Send data
PUT
Update or replace resource on a server
PATCH
Partially update a resource on a server
DELETE
Remove resource on a server
OPTIONS
Discover HTTP methods supported by the server
HEAD
Retrieve headers for a resource without a body
1xx Status Code
Processing
2xx
Success
3xx
Redirection
4xx
Client Error
5xx
Server Error
Headers
Convey meta data about the request. Examples: Content-Type, Authorization, Accept, Cookie (contains stateful state from client), Cache-Control