cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl Question.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 3 Aug 2007 06:52:03 +0200 (CEST)

On Fri, 3 Aug 2007, Surya Kiran Gullapalli wrote:

> curl "http://www.foo.com/some_form" -d"field=value"
> using curl library.
>
> Now my web page remains constant, but the value changes. So if I've to get
> info regarding 10 different values, I loop over 10 times. Is there any way I
> can avoid this loop?

No, not if the server provides different info for each post.

> I'm reading about curl_multi... Is this the answer?

If you want a non-blocking API for doing the posts, it certainly is!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-08-03