HTTP: Difference between revisions

Jump to navigation Jump to search
3 bytes removed ,  18 January 2021
(Created page with "The '''H'''yper'''T'''ext '''T'''ransfer '''P'''rotocol is used by browsers and other User-Agents to perform actions on the web. HTTP version 1.1 is defined i...")
 
Line 3: Line 3:
== Example ==
== Example ==
You can communicate with a non-encrypted HTTP 1.1 server using a tool like [https://en.wikipedia.org/wiki/Netcat netcat].
You can communicate with a non-encrypted HTTP 1.1 server using a tool like [https://en.wikipedia.org/wiki/Netcat netcat].
  > nc example.org 80
> nc example.org 80
  GET / HTTP/1.1
GET / HTTP/1.1
  Host: example.org
Host: example.org
    
    


Once you send the empty line you should receive the response from the server.
Once you send the empty line you should receive the response from the server.

Navigation menu