TFPCustomHTTPClient.Get¶
Performs an HTTP GET request
Declaration¶
Source position: fphttpclient.pp line 289
public
procedure Get(const AURL: string; Stream: TStream);
procedure Get(const AURL: string; const LocalFileName: string);
procedure Get(const AURL: string; Response: TStrings);
function Get(const AURL: string) : RawByteString;
Description¶
Performs an HTTP GET request to retrieve data from the specified URL. The response can be written to a stream, saved to a file, or returned as a string.
Errors¶
May raise HTTP-related exceptions on connection errors or invalid responses.