Hi,

On Fri, Dec 3, 2010 at 9:42 AM, Raindog <[email protected]> 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

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to