GET request from an HTTP client begins with the GET verb (note that the verb uses all capital letters) and ends with the ASCII characters carriage return (CR) followed by line feed (LF). This appears as the hexadecimal characters OD OA in the last two bytes of the GET request in a Network Monitor trace.
For more information, visit the following RFC Web site:
NOTE: This example assumes that the Web server is configured to use the default HTTP port (TCP 80). If the Web server is listening on a different port, substitute that port number in the first line of the example. Also, this example does not work properly over an HTTPS/SSL connection (TCP 443, by default), because the telnet client cannot negotiate the necessary encryption commands to establish the SSL session. Although an initial connection is possible over the HTTPS/SSL port, no data is returned when you issue a GET request.
Enable Local EchoBy default, the telnet client that is included with Microsoft Windows does not have the Local Echo option enabled, so the second command does not appear to be received by the server, although it is. To enable Local Echo, use one of the following methods after the first command:
Microsoft Windows 95, Microsoft Windows 98, Microsoft Windows Millennium Edition (Me), or Microsoft Windows NT 4.0
- On the Terminal menu, click Preferences.
- Click to select the Local Echo check box.
Microsoft Windows 2000 and Microsoft Windows XP
- Click Start, click Run, and then type telnet.exe to start the telnet program.
- Type the following command:For Windows 2000:set local_echoFor Windows XP:set localecho
- Press the ENTER key one time on a blank line to quit the configuration and return to the telnet session.
Character Set 128-255
After you type the last number, release the ALT key. In the case of the GET request that this article uses as an example, type the following command (note that the numbers are typed on the keypad):
Artikelnummer: 279466 – Letzte Überarbeitung: 17.08.2009 – Revision: 1