curl-users
Re: Get response-parameter
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 26 Mar 2002 11:42:12 +0100 (MET)
Date: Tue, 26 Mar 2002 11:42:12 +0100 (MET)
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/Received on 2002-03-26