cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to set options to get return content ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 2 Nov 2012 11:21:49 +0100 (CET)

On Fri, 2 Nov 2012, Liang LIU wrote:

> I want to save the return content (the json object) to memory, like a char*
> object. here's what I write:

You're talking libcurl, so the curl-library would be the more suitable mailing
list to ask this on.

We have an example that does exactly what you ask about:

         http://curl.haxx.se/libcurl/c/getinmemory.html

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-02