W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2000

POST wrapper

From: Eric Warmenhoven <warmenhoven@yahoo.com>
Date: Mon, 7 Feb 2000 05:00:04 -0500 (EST)
Message-ID: <389E9786.4030007@yahoo.com>
To: www-lib@w3.org
CC: frystyk@w3.org
Hi,

I'm trying to write wrapper functions for the GET and POST methods. For 
example, the code:

char *result;
result = getURL("http://www.yahoo.com/");

will load the Yahoo main page into result. I've been able to do this 
very successfully for the GET method by using code from one of the 
examples. However, I'm having a great deal of difficulty with the POST 
method. I want to be able to do a similar thing, pass the location and 
the data to post and get the result back in a char *. Is this even possible?

Thank you,
Eric
Received on Monday, 7 February 2000 07:58:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:35 GMT