SLowgrammer 0 Posted April 29 I trying to add SSL function to my app. The app will be in win/android and IOS. I cant find a good example to make the calls to the server in HTTPS. Someone that knows witch DLL and can make a code example? Thansk Share this post Link to post
Keesver 23 Posted April 29 Using TNetHttpClient should do the trick and provide HTTPS support without any dll's. Share this post Link to post
#ifdef 12 Posted May 6 On 4/29/2024 at 3:18 PM, SLowgrammer said: I trying to add SSL function to my app. The app will be in win/android and IOS. I cant find a good example to make the calls to the server in HTTPS. Someone that knows witch DLL and can make a code example? Thansk https://github.com/Embarcadero/RADStudio12Demos/blob/main/Object Pascal/RTL/HttpAsyncDownload/FDownloadDemo.pas#L70 Share this post Link to post
Patrick PREMARTIN 82 Posted May 6 On 4/29/2024 at 12:18 PM, SLowgrammer said: I trying to add SSL function to my app. The app will be in win/android and IOS. I cant find a good example to make the calls to the server in HTTPS. Someone that knows witch DLL and can make a code example? Thansk You mean using "https://" URLs to access to distant resources ? On which Delphi release are you ? If you use Indy components you need openssl.dll accessible somewhere (if it hasn't change since last year I checked). If you use "native" components (TNetHTTPClient, TRESTClient, TURLStream, ...) you only have to use the good URL, it uses system API. Share this post Link to post