Delphi Indy IdHTTP Authorization
问题 I'm trying to get user photos in Exchange using IdHTTP through REST API How to: Get user photos by using EWS in Exchange procedure TsMain.IdHTTP1Authorization(Sender: TObject; Authentication: TIdAuthentication; var Handled: Boolean); begin Authentication.Username := DomainName +'\'+ User; Authentication.Username := User + #64 + DomainName; Authentication.Password := Password; Handled:=true; end; function TsMain.GetUserPhoto(const eMail: string):Boolean; var s: TStream; ResponseCode: Integer;