I would be very happy if someone could show me a good example of how to send POST data using the navigation method available through SHDocVw.IWebBrowserApp .
Given, for example.
To go to the page, follow these steps: http://example.com/check.php
And you need to send the values of two input fields with the name: username and password.
EDIT
I am trying with my C # application to use my own Internet Explorer version 7 or higher, available on Windows, to send an HTTP request to a specific URL, passing the username and password for the server side using the POST method, which will process HTTP response.
Using the IWebBrowserApp and Navigate methods, I can open a new window / instance of Internet Explorer and send it to a specific page (locally or on the Internet), and if specified, send POST data and custom headers.
But the main problem is that I do not know how to write my data to the POST request, which will be transferred by the browser.
I would appreciate help.
source share