curl-library
RE: Supressing returned data during http post
Date: Wed, 6 Jul 2005 12:00:04 +0200
Hi daniel
Thanks again for your help on Monday. However I have noticed that, when
using your suggested code, should the URL to which I'm attempting to
post be unavailable and I have set a timeout period using
CURLOPT_TIMEOUT, that I receive no notification that the URL is
unavailable. Is there anyway that this error can be intercepted?
Kind Regards
Tim Fulcher
-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Monday, July 04, 2005 10:39 AM
To: libcurl development
Subject: Re: Supressing returned data during http post
On Mon, 4 Jul 2005, Tim Fulcher - Clickatell wrote:
> I'm using the Curl Easy functions to post data to a website. All is
> great,
> except when I post I receive the result from the post which is
displayed on
> the console.
http://curl.haxx.se/docs/faq.html#5.10
> Is it possibel to receive the result from the post and pass it to a
> variable
> and not output that result to the console?
One way to do it:
http://curl.haxx.se/lxr/source/docs/examples/getinmemory.c
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-07-06