Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Development Tools HTTP Basics Introduction to HTTP HTTP Requests Using Telnet

Shadow Skillz
Shadow Skillz
3,020 Points

HTTP Request Using Telnet

Having issue trying to telnet into httpbin.org 80. It says 400 Bad Request Connection: close. pls help

Justin Molyneaux
Justin Molyneaux
13,329 Points

Try again and see my comments below:

I found that you have to type quickly and it helps to watch the video once. Write down what Chris says and then follow it again and type the commands he says.

From the beginning of the video type the following in your command line:

telnet httpbin.org 80

[press ENTER KEY]

GET / HTTP/1.1 Host: httpbin.org

[press ENTER KEY] [press ENTER KEY]

Shadow Skillz
Shadow Skillz
3,020 Points

Hey, Justin thanks sorry for the late reply but thank you for the help. It seems that I forgot to type Host: and that was the issue. But thanks for responding I really appreciate it.