curl-users
Re: libcurl
From: Daniel Stenberg <Daniel.Stenberg_at_haxx.nu>
Date: Tue, 25 Jan 2000 12:49:29 +0100
Date: Tue, 25 Jan 2000 12:49:29 +0100
M B wrote:
I want to post information with libcurl.
>
> curl_urlget(URGTAG_FLAGS,CONF_HTTPPOST, //to get it to do a post
> URGTAG_URL,url_string, //url to post to
> URGTAG_HTTPPOST,post_string, //i.e. "dataglob=5&a=4"
> URGTAG_FILE,stdout,
> URGTAG_DONE);
>
> is what I had been trying. This just does a GET though. Can anyone give me
> a quick rundown of all the little nuances of sending a POST...
I know, the interface is neither very comfortable nor documented. Try
adding this pair to the function above:
URGTAG_FLAGS, CONF_POST,
-- Daniel Stenberg - http://www.contactor.se/~dast - +46-705-44 31 77 ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`olReceived on 2000-01-25