how to access a specific web page using telnet?

  • Thread starter Thread starter ypjofficial
  • Start date Start date
Y

ypjofficial

Hello All,

I want to retrieve a speicific webpage located on the webserver using
telnet.
(lets say ROOT/2006/data/view.html. I am using tomcat server)
What should be the syntax of the Get request to do the same.?

Thanks and Regards,
Yogesh Joshi
 
Hello, (e-mail address removed)!
You wrote on 6 Feb 2006 14:01:01 -0800:

y> Hello All,

y> I want to retrieve a speicific webpage located on the webserver using
y> telnet.
y> (lets say ROOT/2006/data/view.html. I am using tomcat server)
y> What should be the syntax of the Get request to do the same.?

telnet webserver.org 80
GET /ROOT/2006/data/view.html HTTP/1.0
<CR>
<CR>

where <CR> means hit your ENTER/Return key

If the server does virtual hosting:
telnet webserver.org 80
GET /ROOT/2006/data/view.html HTTP/1.0
Host: servername.org
<CR>
<CR>

With best regards, Paul R. Sadowski [MVP]. E-mail: (e-mail address removed)
 
Back
Top