Retrieving a web page which is available after logging in

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
BJ
In need of some credit
In need of some credit
Posts: 1
Joined: Thu Nov 11, 2010 7:49 am

Retrieving a web page which is available after logging in

Post by BJ »

Would someone please post here an example of downloading in wxWidgets application a web page which is available after logging in?

I tried to use wxCurl for this purpose, but no success, a buffer is not filled with content of a page. :-(

Code: Select all

char Buffer[30000];
wxCurlHTTP http(wxT("http://taras.te.ua/index.php"), wxT("test"), wxT("test"));
http.UseCookies(true);
http.Post(Buffer, 30000);
wxString Content = wxString(Buffer, wxConvUTF8);
wxMessageBox(Content);
I asked for the help on StackOverFlow and in e-mail to Francesco Montorsi, but no replies yet. :cry:
Post Reply