title: What, at the bare minimum, is required for an HTTP request?
body: <p>I'm trying to issue a GET command to my local server using <code>netcat</code> by doing the following:</p>
  
  <pre><code>echo -e "GET / HTTP/1.1\nHost: localhost" | nc localhost 80
  </code></pre>
  
  <p>Unfortunately, I get a <code>HTTP/1.1 400 Bad Request</code> response for this. What, at the very minimum, is required for a HTTP request? </p>