curl-library
Logging on to Fifth Third Bank
Date: Sat, 24 Apr 2010 16:16:22 -0500
I am not sure why my Login Post is not being accepted at (https://www.53.com/wps/portal/personal). My 'cookies' file is being created properly, but the output file indicates, that I am not getting past the main login page. I am using LiveHTTP Headers. I would appreciate some guidance, as I am relatively new to the Curl Library.
FILE *outfile;
outfile = fopen("outfile", "w");
CURL *curl;
curl = curl_easy_init();
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, my_write_func);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, outfile);
curl_easy_setopt(curl, CURLOPT_COOKIEJAR, "cookies");
curl_easy_setopt(curl, CURLOPT_COOKIEFILE, "cookies");
curl_easy_setopt(curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3");
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
curl_easy_setopt(curl,CURLOPT_CAINFO, "cacert.pem");
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER , 1);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST , 1);
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_URL, "https://www.53.com/wps/portal/personal");
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "UserName=john&Password=letmein&action=/servlet/logon");
curl_easy_perform(curl);
curl_easy_cleanup(curl);
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-24