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);