Send first line of the HTTP Header
You can do this by using tool netcat
(also called as nc
).
Just from command line, do the following steps to send the modified request.
$ nc <ip-address-of-webserver> 80
FOOBAR NOT REALLY HTTP
Host: example.com