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

Nilangi Edirisinghe
Nilangi Edirisinghe
1,182 Points

Command Prompt says "GET is not recognized"

I enabled Telnet client on Windows 10 and started giving the Telnet HTTP commands in Command Prompt as in the video. But when I type in the command GET / HTTP/1.1 , it gives the error message " 'GET' is not recognized as an internal or external command, operable program or batch file". I do not know how to continue after this. I tried with Windows Powershell too but it gives the same error. Please help.

Nilangi Edirisinghe
Nilangi Edirisinghe
1,182 Points

I tried this on Workspaces too bu several times it gives this error: treehouse:~/workspace$ GET/HTTP/1.1
bash: GET/HTTP/1.1: No such file or directory
treehouse:~/workspace$ GET / HTTP /1.1
bash: GET: command not found
treehouse:~/workspace$ GET /HTTP/1.1
bash: GET: command not found
treehouse:~/workspace$ Host httpbin.org
bash: Host: command not found
treehouse:~/workspace$
treehouse:~/workspace$ GET /HTTP/1.1
bash: GET: command not found
treehouse:~/workspace$ Host:httpbin.org
bash: Host:httpbin.org: command not found

2 Answers

Jay McGavren
STAFF
Jay McGavren
Treehouse Teacher

Your commands are going to the shell, not to telnet. You should rewatch the video for directions on how to start the telnet client first.

You have to watch the whole video struggle with the content if you aren't able to access it right away.