Indy 9 - IdHTTP->Post gayt nicht
-
Mal wieder ein Problem mit den Sch... Indy Komponenten!
Will mich einloggen -> Socket Error 10060 (hängt).Forum -> durchsucht -> Alternativen probiert -> nix
Newsgroups -> duchsucht -> nix
Delphi Foren -> duchsucht -> nix
Indy Sources Beispiele -> veraltet -> nix
Borland BCB Support -> nixAlso spart Euch die Standardsprüche wie "Suche" usw.
Der Code
TStringList * ParaIn = new TStringList(); TMemoryStream * ParaOut = new TMemoryStream(); ParaIn->Add("action=1&login=UserName&pass=secret"); IdHTTP1->Request->ContentType = "application/x-www-form-urlencoded"; IdHTTP1->Post("http://test.de/login.php", ParaIn, ParaOut); Memo1->Lines->LoadFromStream(ParaOut);