cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Http post return page

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 27 Aug 2001 22:08:49 +0200 (MET DST)

On Mon, 27 Aug 2001, Moayyad, Parviz wrote:

> How does one get the return page from an http post?

The same way you get pages in return for all requests. It gets written to
stdout by default, you provide a CURLOPT_FILE to redirect, or you set your
own write callback with CURLOPT_WRITEFUNCTION.

> Is there an option in curl_easy_setopt

The two ones mentioned above should help you out.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-08-27