Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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.