curl-users
Re: Reading entire request from a file
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 9 Sep 2008 14:08:17 +0200 (CEST)
Date: Tue, 9 Sep 2008 14:08:17 +0200 (CEST)
On Tue, 9 Sep 2008, Andreas Schildbach wrote:
> I am searching for a way to just send an HTTP request from a file, and
> look at the response. This is for testing purposes.
Then I'd suggest you use 'nc'.
> There are various options in curl to read various parts of the response
> (file attachments, headers, etc.) from a file, but how can I just read the
> entire request from a file?
If you're going to do the entire thing yourself you don't need curl but can
just use nc or possibly even telnet.
So no, curl doesn't offer any such option. I don't see what the point would
be...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2008-09-09