Search code examples
androiddatabasedelphihttpsfiremonkey

Connect Delphi mobile app to web server via HTTPS/TLS


What is the easiest and most secure way to connect to a remote web server using HTTPS/TLS in a Delphi FireMonkey app? Are there any components available for this purpose?

I need the mobile app to connect a web server so that it can synchronise the phone's local database with the server's database. To achieve this, I envision using transferring database records in XML via the secure HTTPS connection. Is this the best way to go about this?


Solution

  • Delphi ships with Indy pre-installed, which has a TIdHTTP component for communicating with HTTP/S servers.