Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

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

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

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.

2 Answers 2

up vote 4 down vote accepted

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

share|improve this answer

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

Trying 209.85.149.105...
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">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
^C
Connection closed by foreign host.
share|improve this answer

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