Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Formular Ausfüllen.. (https://www.delphipraxis.net/126567-formular-ausfuellen.html)

napstar 28. Dez 2008 15:25


Formular Ausfüllen..
 
hi.. ich habe ein problem..
ich versuche ein html formular auszufüllen aber schaffe es nicht ^^..

die seite ist "http://login.live.com/login.srf"

die daten werden an "https://login.live.com/ppsecure/post.srf" geschickt..
name des emailadressenfeldes ist "login"
name des paswortfeldes ist "passwd"

ein freund hat mir diesen code hier erstellt..

Delphi-Quellcode:
  slEintrag := TStringList.Create;
  sURL:='https://login.live.com/ppsecure/post.srf';
  with
  slEintrag do
  begin
    Values['login'] := 'emailadresse';
    Values['passwd'] := 'passwort';
  end;
  try
    IdHTTP1.Post(sURL,slEintrag);
    memo1.Text:=idhttp1.Response.RawHeaders.Text;
  except
    MessageDlg('Senden fehlgeschlagen', mtError, [mbOK], 0);
  end;
  slEintrag.Free;
end;
nur leider funktioniert sie nicht.. ich bekomme die fehlermeldung.. " Senden fehlgeschlagen".

was mache ich falsch? danke schonmal für eure hilfen..

Bernhard Geyer 28. Dez 2008 15:34

Re: Formular Ausfüllen..
 
Die Standard-Installation der Indys können AFAIK kein HTTPs. Such mal im Forum wie man den Indy's HTTPs beibringt.


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:54 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz