|
From: Dean M. B. <mik...@gm...> - 2010-12-06 04:34:53
|
On Sat, Dec 4, 2010 at 4:13 AM, Raindog <ra...@ma...> wrote:
> On 12/2/2010 7:24 PM, Dean Michael Berris wrote:
>>
>> Let me know if you need any more information regarding how to make the
>> file contents part of the POST request.
>>
>>
> That would be great if you could. I'm not familiar with HTTP hence why I
> wanted to use your library =). I know that I need a content length and
> some field designating the encoding used, but I don't know how I would
> separate the query string parameters from the actual file being uploaded.
>
That's easy:
http::client c;
http::client::request req("http://example.com/path?p=0&q=1");
http::client::response res = c.post(req, "The contents of the POST body here.");
> Thanks!
You're welcome and I hope that helps.
--
Dean Michael Berris
deanberris.com
|