
Zitat von
ghost007:
Aber idhattp hat keine username oder passwort property.
Um was wollen wir wetten?
Delphi-Quellcode:
HTTP := TIdHTTP.Create(nil); // HTTP-Kompo wird dynamisch erstellt
with HTTP do
begin
Request.BasicAuthentication := True;
Request.Username := 'user';
Request.Password := 'password';
end;
Klappt bei mir (
Indy 10) wunderbar. Und sollte bei älteren auch möglich sein ...