cURL / Mailing Lists / curl-library / Single Mail


Re: Can i access response of HTTP POST other than callback mechanism?

From: Daniel Stenberg <>
Date: Thu, 1 Sep 2005 15:20:35 +0200 (CEST)

On Thu, 1 Sep 2005, Satish Mittal wrote:

>>> In the same way, can i access the entire response ONLY through the
>> No.
> 1) What is the other way than callback method?

The 'No' above should be read as "No - there is no way to read the entire

> 2) Also , write callback will be called multiple times, each time with
> size*nmemb amount of data, instead of whole data in one shot.

Yes, that's how it works and that's what you get. If you want the whole
response in one big chunk then you write your callback to do just that. Like
the getinmemory.c example does.

  Commercial curl and libcurl Technical Support:
Received on 2005-09-01