cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Get response-parameter

From: Christoph Brunner <news_chbr0001_at_yahoo.de>
Date: Thu, 28 Mar 2002 15:48:22 +0100

I had modified and use the main.c File.
In which variables of the main.c file are the result of a http-post-request stored?

*********** REPLY SEPARATOR ***********

On 26.03.2002 at 11:42 Daniel Stenberg wrote:

>On Tue, 26 Mar 2002, Christoph Brunner wrote:
>
>> I use the curl-example source-code to implement my application! I do a
>> post-request to an Java-Servlet! I alter the main.c file to send the
>> post-request! The example take the response and write it to the screen or
>> in a file! My question is: How Can i get the response in a C-variable in
>> the main.c-file? On which location of the curl-example have i access to
>the
>> reponse?
>
>Check out the getinmemory.c example source code, it shows one way of
>receiving the entire response in a memory buffer.
>
>--
> Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received on 2002-03-28