diff --git a/README.md b/README.md index 3b333a3..1eb06bc 100644 --- a/README.md +++ b/README.md @@ -383,12 +383,12 @@ Note that API design is not just URL path design. Most of the time, we need to c How is data sent over the network? Why do we need so many layers in the OSI model? +The diagram below shows how data is encapsulated and de-encapsulated when transmitting over the network. +

-The diagram below shows how data is encapsulated and de-encapsulated when transmitting over the network. - Step 1: When Device A sends data to Device B over the network via the HTTP protocol, it is first added an HTTP header at the application layer. Step 2: Then a TCP or a UDP header is added to the data. It is encapsulated into TCP segments at the transport layer. The header contains the source port, destination port, and sequence number.