Im currently trying to write a program that will connect and login to site with http. When logged in, I want to access xml-data at the site.
I've decided to use WinHttp, but I not quite sure what to do to make it work.
The site I want to access is www.hattrick.org. Login procedure:
then then you can access for example:
hSession = WinHttpOpen( L"A WinHTTP Example Program/1.0",
WINHTTP_NO_PROXY_BYPASS, 0 );
hConnect = WinHttpConnect( hSession,
hRequest = WinHttpOpenRequest( hConnect,
I dont know what to do next. I want to access the 'other' sites to gater xmldata, but I dont know how to do it.
I am even not sure if Im logged in, I have used GetLastError() but it returns no error code.