I want to use REST.Client.TDownloadURL to download files.
I find that it uses System.Net.HttpClient, and in this code I see:
class function THTTPClient.Create: THTTPClient;
begin
Result := THTTPClient(TURLSchemes.GetURLClientInstance('HTTP')); // do not translate
end;
I think REST.Client.TDownloadURL works only with HTTP and not HTTPS, is that right?
This question talks about Vcl.ExtActns.TDownloadURL instead, which uses Microsoft's URLDownloadToFile() function. Does REST.Client.TDownloadURL use URLDownloadToFile(), too?