POST data and wait for an answer
kamikaze <[email protected]> Thu, 1 Nov 2007 08:42:59 -0700 (PDT)
| Newsgroups | gmane.comp.lib.libwww |
|---|---|
| Message-ID | <[email protected]> |
hello everybody! My C function needs to make HTTP POST (without form or any field) for data (char *data) to an URL (char *url) and then wait for a HTTP response from server. Actually I see something simillar in Examples (post.c). This code makes POST as I need (just HTTP Headers and data), but then it asks to save a file (index.html for example). I need just to get an answer and return it as char *answer_data. Any suggestions? Do I need to make any kind of callback? Thanks. -- View this message in context: http://www.nabble.com/POST-data-and-wait-for-an-answer-tf4732171.html#a13531264 Sent from the w3.org - www-lib mailing list archive at Nabble.com.