curl-users
Re: Post request
Date: Fri, 16 Sep 2005 11:19:06 -0700
I recently ported an application to Linux. I use curl executable and
I/O redirection for HTTP communication. Only two instances of curl are
loaded in the beginning of the program. I keep curl loaded in memory
and reuse it while the program is running. Due to my lack of
understanding of curl and lack of time I have only managed to change
the curl code so the main can accept command line continuously. It
will be great to see the connection reused. I will do it eventually
when I have some free time.
Daniel, thank you for this great tool.
On 9/16/05, Daniel Stenberg <daniel-curl_at_haxx.se> wrote:
> On Fri, 16 Sep 2005, Ralph Mitchell wrote:
>
> >>> How can I get this data from the html-page and reuse it in the next curl
> >>> request?
> >>
> >> There is simply no way to do this with the command line tool.
> >
> > Bet you a beer?? My favourite curl binding is the Bourne shell:
>
> I'm an eager user of the shell binding myself, but as I interpreted his
> request, he would download a page from a URL from which he extracts info and
> then makes a second request using data from the first request, and that second
> request should re-use the same connection as was used to get the first data.
>
> And that is hard to achieve with the command line tool.
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>
Received on 2005-09-16