cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Adding the ability to first POST and then GET using one singlecommand line.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 21 Jan 2003 15:49:50 +0100 (CET)

On Mon, 20 Jan 2003, shlomit lisser wrote:

> That division could be done inside an http client, all I suggested was to
> mark a post and get request differently and let cURL do the rest. something
> like -
>
> curl -o tmp.tmp --cacert ..... -d gfdgfdgfd www.url.com!first_url=data...
> www.url.com?another_url=data...
>
> the first URL is a post request and the second is of course a get request.
> then cURL will build the headers appropriately. It looks like a small
> change that could be very handy. Just an idea...

When the patch for this arrives, I promise to read it carefully and if I
don't find any evident flaws I can't see why this couldn't be added. It is
not a very big change, no.

Again, I don't think *I* will do this anytime soon.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
Received on 2003-01-21