- Hyper Text Transfer Protocal: deliver hyper text from server to local browser etc.
- Based on TCP/IP
- Current version: HTTP/2
- Server - Client
- Client can request through GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, PATCH.
- Transfer anything defined by Content-Type
- Connectionless Protocol: doesn’t maintain the connection all the time
- Stateless protocal: A very nice explanation
- Uniform Resource Locator
- Interpret each part of this URL: http://abc.com:8000/folder/file.html#title1location?param1=123¶m2=234
- No limits on length of URL by HTTP itself. However, some servers or clients do set limits.
Difference between URI and URL and URN: The Difference Between URLs and URIs checkout the Venn diagram.
How HTTP Works
HTTP Request: use Chrome Dev Tool -> Network to find out the requests, including GET and Response.
How to Request
GET: request for the page
HEAD: similar to
GETbut only for the head
POST: post data to the uri; data is in the body; might replace existing data
DELETE: request a deletion of the page
OPTIONS: allow the user to request for info about the server
TRACE: mostly used for diagnostic purpose
GET will attach data on the URL, while
POST will attach data in the package. Thus
POST is safer.
The OSI Model
A nice visualization of the seven layers.
The Internet Procotcal Suite
This is the Link Layer.
IP Address and Domain
Some key concepts:
- Subnet: a sub network that shares the same subnet address
- Subnet mask: 32-bit, mask the address to specify the subnet and host
What is the slash 28 (/28) in the notation
255.255.255.240 (/28)? It means 28 bits. See the illustration bellow 1.
126.96.36.199 - 11001100.00010001.00000101.00000000 255.255.255.240 - 11111111.11111111.11111111.11110000 --------------------------|sub |---
IaaS, Paas, Saas
- Infrastructure as a Service
- Platform as a Service
- Software as a Service
L Ma (2018). 'Basics of Network', Datumorphism, 09 April. Available at: https://datumorphism.leima.is/wiki/computation/basics-of-network/.