camurso_ Posted July 5, 2006 Share Posted July 5, 2006 Boas a todos. Alguém conhece este comando? Queria fazer um pedido http para um servidor e queria que o responce aparecesse na linha de comandos, ou seja, queria ver o html retornado a aparecer na consola, para depois o poder tratar. Alguém sabe como? Link to comment Share on other sites More sharing options...
beyonder Posted July 5, 2006 Share Posted July 5, 2006 -S --server-response Print the headers sent by HTTP servers and responses sent by FTP servers. Link to comment Share on other sites More sharing options...
camurso_ Posted July 5, 2006 Author Share Posted July 5, 2006 -S --server-response Print the headers sent by HTTP servers and responses sent by FTP servers. certo, já sabia, mas assim só consigo ver o header... Já experimentei fazer telnet ip_da_maquina 80 get Só que, estupidamente, o que vejo é o html do erro 500 enviado pelo tomcat. Mas o servidor está a correr Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now