Floppy Posted January 23, 2019 Posted January 23, 2019 Hi guys, I'm trying to fill a form on a HTTPS page using _WinHttpSimpleFormFill, but the server says that I should use a secure connection to login. I've had some problems on the same page with _WinHttpOpenRequest, and then I found out that I should use $WINHTTP_FLAG_SECURE to make it work, like this: $httpOpen = _WinHttpOpen() $httpConnector = _WinHttpConnect($httpOpen, $mainAddress) $request = _WinHttpOpenRequest($httpConnector, Default, $subAddress, Default, Default, Default, $WINHTTP_FLAG_SECURE) Now, is there a way to use $WINHTTP_FLAG_SECURE also with _WinHttpSimpleFormFill ?
Danp2 Posted January 23, 2019 Posted January 23, 2019 Have you tried specifying $INTERNET_DEFAULT_HTTPS_PORT for the server port when using _WinHttpConnect? Latest Webdriver UDF Release Webdriver Wiki FAQs
Floppy Posted January 23, 2019 Author Posted January 23, 2019 I tried INTERNET_DEFAULT_HTTPS_PORT, with no success
trancexx Posted January 23, 2019 Posted January 23, 2019 Use full url for _WinHttpConnect(). That would be "https://..." ♡♡♡ . eMyvnE
trancexx Posted January 24, 2019 Posted January 24, 2019 7 hours ago, Floppy said: @trancexx I tried, same result... Winhttp.au3 comes with help file. Last example for _WinHttpSimpleFormFill uses https. Try it. ♡♡♡ . eMyvnE
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now