HTTP Crash Course & Exploration
HTTP Crash Course & Exploration
Curso: https://youtu.be/iYM2zFP3Zn0
Fundamentals
HTTP: Hyper Text Transfer Protocol
Communication in server <-> client model
Works with requests and responses
Every single request is independent
HTTPS: Hyper Text Transfer Procol Secura. Basically, encrypted HTTP
We've got methods, like:
- Get Request: Retrieves data from the server
- Post Request: Submit data to the server
- Put Request: Update data already in the serverl
- etc...
Each request and response have a header and a body, the body is basically the info (html's, for example). Usually a header will have the method, path, and protocol, as well as some other fields, like:
- General Fields
- Request URL
- Status Code
- Remote Addres
- etc...
- In Responses:
- Server
- Set-Cookie
- Content-Type
- Date
- etc..
- In Requests:
- Cookies
- Content-Type
- Authorization
- etc...