From: Dean M. B. <mik...@gm...> - 2010-12-03 02:50:27
|
Hi, On Fri, Dec 3, 2010 at 9:42 AM, Raindog <ra...@ma...> wrote: > Hello, > > I am wondering if someone can show me a minimalist http post example, at least how to add the query string parameters to the existing example. IE how to post the equivalent of: > > Http://www.mysite.com/site.cgi?foo=bar&baz=quid > Actually this isn't an HTTP POST, but rather an HTTP GET request with the query parameter supplied. This would work for what you intend to do: http::client client; http::client::request request("http://www.mysite.com/site.cgi?foo=bar&baz=quid"); http::client::response response = client.get(request); HTH -- Dean Michael Berris deanberris.com |