-
Book Overview & Buying
-
Table Of Contents
Spring System Design in Practice
By :
Sitting on layer 7 of the OSI model, the Hyper-Text Transfer Protocol (HTTP) is the railroad through which our applications will send and receive data over the network. It was created originally by Tim Berners-Lee to transfer HTML pages between browsers.
Your browser works on top of HTTP
This section introduces the exact way in which your browser connects to websites. There might be some differences, which we will highlight in the next chapters. But the essence of browsing the internet is the explanation we will go over here.
The beauty of HTTP is that the protocol is readable by humans. By using simple commands, it is possible to actually understand what data the client and servers are exchanging.
We can get a glimpse of the exact power of the HTTP protocol by using the curl command. This terminal command is available in all major operating systems, including Windows 10+.
For example, this is the output of a curl -vvvvv httpbin.org/ip command...