title
spacing spacing
spacing

Try HTTP

Please read all the steps first before starting this hands-on experiment.

  1. Start the telnet application. On UNIX use the telnet command at the shell level. On Apple OS-X you can access UNIX using the Terminal application in the Applications/Utilities folder.

    On Windows (DOS prompt) run the telnet.exe (usually in C:\WINDOWS\system32\) as follows:

    cd  C:\WINDOWS\system32
    .\telnet.exe
    
  2. When you see the telnet > prompt, connect to eagle.cs.kent.edu at port 80 by typing:

    set logfile mytest.html
    open  eagle.cs.kent.edu  80
    

    telnet displays Connecting To eagle.cs.kent.edu ... and now perform the next step without first touching anything else on the keyboard.

  3. Type on the keyboard exactly (case sensitive)

    GET /WEB/test.html HTTP/1.0

    and hit ENTER twice.

  4. You should see many lines displayed. Now exit telnet with the command quit.

  5. Use your favorite text editor to open the saved file mytest.html. You'll see the HTTP response from the server. Delete lines at the beginning of the file that are the HTTP headers and leave the HTML code unchanged. Save the file and exit the editor.

  6. Now open the mytest.html file from a Web browser. What did you get?