I want to be able to connect to an HTTPS website and submit my account information (connectID and password), then obtain further details from my account. I've installed all the necessary binaries (openSSL, etc) and I am able to connect to the https site using Net::SSLeay::get_https, but I can't seem to figure out what do do or how to post the necessary data to the login page, then validate that i've connected. I'm a newbie, and would really appreciate someone helping me out.
The site I'm trying to connect to is https://webbroker.tdwaterhouse.ca/
I've been able to determine (at least i think) that the form they are using is looking for two values (1) connectID.value and (2)password.value. Maybe i'm wrong here, that's why I gave the website so that perhaps someone can do a view source on the site to validate my approach.
Here is the sample code I've tried using with the post_https function call in the following code
$site = "webbroker.tdwaterhouse.ca';
$port = 443;
$path = '';
($page) = post_https($site, $port, $path);
Now that I have the page, I try to submit the connectID and password values, using the post_https method.
And this is where i THINK the problem is
(page, $response, %reply_headers) = post_https($site, $port, $path ,'',make_form('connectID.value' => 'wxxxxxxx', 'password.value' => 'xxxxxxxx'));
I don't get any errors, but I also don't get any data :(.
I'm really stumped!
Any help, including code samples, that you can give me would be very much appreciated!!!!!!
Thanks
In reply to Net_SSLeay help? by booter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |