[DUG] TIdHTTP
Ben Taylor
to_ben at yahoo.com
Wed Jun 15 17:30:12 NZST 2005
This works for me. Indy10, dev snapshot. Uses basic auth, which is what i assume
you're trying to use.
If not, post some code. a dunit test that fetches from a public server would be nice
:-)
var
h:TIdHTTP;
s:string;
begin
h:=TIdHTTP.Create(nil);
try
h.Request.Username:='luggage';
h.Request.Password:='12345';
h.Request.BasicAuthentication:=True;
s:=h.Get('http://192.168.1.100/');
finally
Sys.FreeAndNil(h);
end;
end;
--- Ross Levis <ross at stationplaylist.com> wrote:
> I have a question which I've posted on the Indy newsgroup without a
> response at this stage so thought I would try here, in case someone has
> done this before.
>
> Using D7 with the last release of Indy 9.
__________________________________
Discover Yahoo!
Find restaurants, movies, travel and more fun for the weekend. Check it out!
http://discover.yahoo.com/weekend.html
More information about the Delphi
mailing list