Re: CURL: Save response to string

2012-06-30 Thread simendsjo
On Sat, 30 Jun 2012 23:49:51 +0200, Nrgyzer wrote: Hi guys, I know... there's a lib for curl but I'm using an old CURL-binding for D... I've the following problem: I'm sending my login data to a web page and I want store the response of curl_easy_perform() in a string. So I'm using the fol

Re: CURL: Save response to string

2012-06-30 Thread Jonathan M Davis
On Saturday, June 30, 2012 21:49:51 Nrgyzer wrote: > Hi guys, > > I know... there's a lib for curl but I'm using an old CURL-binding for D... > I've the following problem: I'm sending my login data to a web page and I > want store the response of curl_easy_perform() in a string. So I'm using > the

CURL: Save response to string

2012-06-30 Thread Nrgyzer
Hi guys, I know... there's a lib for curl but I'm using an old CURL-binding for D... I've the following problem: I'm sending my login data to a web page and I want store the response of curl_easy_perform() in a string. So I'm using the following few lines to do that: string temp; size_t callba