Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2006 Apr : How to use POST Method ?
| Subject: | How to use POST Method ? |
| Posted by: | "mehmet" (mehm..@discussions.microsoft.com) |
| Date: | Sun, 2 Apr 2006 05:00:02 |
Hi Everybody,
I can send a file to IIS using wininet functions using win32 api;
InternetConnect, HttpOpenRequest,HttpSendRequest using 'PUT' .
I have a "SAMPLE.HTM" file on the IIS uses 'POST' method which invokes
"sample.exe" cgi application that process this form that comes from the
browser.
How can I use winninet functions (with win32 api) that send the "SAMPLE.HTM"
to IIS insted of browser so that "sample.exe" will proceses it ?
Can someone provide me sample code block for this case ?
Any help apprecited.
Regards.
Mehmet