HTTP: Difference between revisions

From Delft Solutions
Jump to navigation Jump to search
(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...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
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.
[[Category: Terminology]]

Latest revision as of 18:13, 18 January 2021

The HyperText Transfer Protocol is used by browsers and other User-Agents to perform actions on the web. HTTP version 1.1 is defined in rfc2616.

Example

You can communicate with a non-encrypted HTTP 1.1 server using a tool like netcat.

> nc example.org 80
GET / HTTP/1.1
Host: example.org
 

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