cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Getting Responses To HTTP Post

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 15 Mar 2002 08:35:18 +0100 (MET)

On Thu, 14 Mar 2002, Mike Tardif wrote:

> I've read lots of docs, including that POST chapter in the guide, and all
> the libcurl examples I could find, but I have not been able to figure out
> how to get the response to an HTTP Post. I can get the status of my POST,
> but how do I get the response data back?

There's no difference between a HTTP POST and other kinds of requests, they
all get the responses back the same way.

You set a read callback and it gets called a number of times by the library
that delivers the data to you, piece by piece...

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-15