HTTP
RPC - Remote Procedure Call
- execute code that are not in one local machines (on servers)
HTTP
- base on request and response (between server and client)
- built on TCP
- Methods: GET, POST, PUT, DELETE
- Each route have these different endpoints
- GET only have head, no body
- Idempotent, should not change the content
Status Codes:
- Informational responses (100 - 199)
- Successful responses (200 - 299)
- Redirection messages (300 - 399)
- Client error responses (400 - 499)
- Server error responses (500 - 599)
SSL/TLS
- Transport layer security
- encrypt the message
- Prevent man in the middle attack