httptelnet

How to send an HTTP request using Telnet


How to get a web page's content using Telnet?

For example, the content of https://stackoverflow.com/questions.


Solution

  • telnet ServerName 80


    GET /index.html↵
    ↵
    

    ↵ means 'return', you need to hit return twice