GET /HTTP/1.1 在命令提示符下不工作。是说"Invalid command"?

GET /HTTP/1.1 not working in command prompt. It's saying "Invalid command"?

Click here to see the image . I tried a lot of time doing this but can't get it.

您还没有连接到主机,在本例中是 opera.com。 所以你实际上是在发出请求,即 GET / HTTP/1.1,在这种情况下发送到 telnet,而 telnet 不知道这意味着什么。所以基本上你不是在与服务器或主机交谈。如果您查看图片,它会清楚地显示“与主机的连接已丢失”,这非常明显。