Possible Duplicate:
wget/cURL alternative native to Windows?

Is there any tool (command line tool preferred) to get the HTTP request header information on Windows machine like Curl does on Linux?

marked as duplicate by slhck Oct 27 '12 at 14:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from serverfault.com Apr 12 '11 at 21:43

This question came from our site for system and network administrators.


not really. However, you can use curl under cygwin on windows, or even use the native dos/windows clients to suit your needs. http://curl.haxx.se/download.html


For simple operations, you can use a simple telnet. And write the HTTP protocol by hand. Oh the joys of plain-text protocols :)

telnet google.com 80

Connected to google.com.
Escape character is '^]'.
GET / HTTP/1.1
Host: google.com

HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Date: Tue, 12 Apr 2011 20:58:48 GMT
Expires: Thu, 12 May 2011 20:58:48 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 1; mode=block

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
Connection closed by foreign host.

Not the answer you're looking for? Browse other questions tagged or ask your own question.