views:

32

answers:

3

Is there a program available that will allow me to interactively write HTTP stream data and send it to a server? Ideally I'm looking for a console app that will allow me to type or paste HTTP headers and body, send it to my server, and get the response headers and body back.

Does such a program already exist?

I'm running W7 64-bit with .NET 4.0.

+1  A: 

Maybe telnet is an option for you? If it's not already installed on your machine, take a look at this guide from MS.

To connect to your server use it like this:

telnet www.myserver.de 80

After the connection is established, you can paste your HTTP GET reqests or what ever you like.

Frank Bollack
I've done exactly what you describe using telnet in the past. It was the recommended technique in the web programming book I read in 1994.
Robert Lewis
A: 

tinyget is a useful MSFT tool that will make simple get requests. You can store these requests in text files and stream them in.

Mike
+1  A: 

if you change your mind and want a GUI app

http://code.google.com/p/rest-client/

or you can also use fiddler

Edit:

http://code.google.com/p/rest-client/ also supports commandline

ps
Just give the rest-client a try and it's pretty handy!
nevets1219
works like charm!
ps