cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Content-Type: application/x-www-form-urlencoded; SendText=say+This+is+a+test&Send=Send

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 14 Jun 2013 22:54:50 +0200

On Fri, Jun 14, 2013 at 07:42:02PM +0100, Spencer Elliott wrote:
> Would anyone be kind enough to post an updated function of the above, that
> would allow me to pass the function param “str” to the server page, where the
> data I would like to send is “SendText=say+This+is+a+test&Send=Send”?
>
> I know it’s cheeky to ask, but with a nice example I believe I’ll be able to
> make many more functions that I require.

Indeed, so it's lucky someone has already written such an example:
http://curl.haxx.se/libcurl/c/simplepost.html

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-06-14