| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: how to Post data WITHOUT form?
From: Emil Romanus <sdac.bithack_at_gmail.com>
Date: Fri, 2 Nov 2007 14:52:44 +0100
2007/11/1, Tigersoft Development Group <tigersoft.dg_at_gmail.com>:
I think you theoretically can do something like this, but I'm NOT sure
(pseudo-code)
struct sizedstr { char* s; unsigned int allocsz; unsigned int sz; };
/* write callback */
char* funny(const char *data, unsigned int len)
curl_easy_setopt(h, CURLOPT_URL, "http://server/dsa/");
return ret.s;
So there you have a function doing exactly what you asked for. Don't
If it doesn't work, then you'll probably have to do a multipart post,
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info