Privacy Policy
Snippets index

  Send an HTTP request using Telnet

$ telnet brainstorm.it 80
Trying 116.203.5.135...
Connected to brainstorm.it.
Escape character is '^]'.

GET / HTTP/1.0
Host: brainstorm.it
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Tue, 07 Jul 2020 06:48:29 GMT
Content-Type: text/html
Content-Length: 178
Connection: close
Location: https://brainstorm.it/

<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
Connection closed by foreign host.

For https-only reachable url:

$ ncat --ssl brainstorm.it 443
GET / HTTP/1.0
Host: brainstorm.it
...
...
                });
            });
        })(jQuery);
    </script>

  </body>
</html>