Click to See Complete Forum and Search --> : Simulating a Form POST request using WinInet


Flagrant99
May 18th, 1999, 08:49 AM
When you go to a website with a form that requires user interaction to input data.
Is there anyway to automatically input this data with WinInet, have WinInet click on the submit button
on the form and then retreive the web page that arrives as a result of this?
I found a page in MSDN Article ID Q165298 HOWTO: Simulate a Form POST request using WinInet.
but it is not very detailed. I need more info.
Any help would be appreciated. Thanks, Greg

Harish Kumar
June 5th, 1999, 02:03 AM
I think that article gives sufficient info...
Using a web browser user will select his choices and input information. At the server end, the cgi or asp program parse the user input and send back HTML code accordingly.
If you want to automate the things using VC++, hard-code the values in your VC++ code and post it to the webserver. You will get the raw HTML code back to you...

Harish