-1

How can I get the text out of https://lehrer-programm-experience.netlify.app/version.txt into a string? I already tried s:=IdHTTP.Get('https://lehrer-programm-experience.netlify.app/version.txt'); but I get this error:

Error dialog showing German text: "SSL.Bibliothek konnte nicht geladen werden."

It's German: "SSL library couldn't be loaded."

Is there another way to do it or did I made a mistake?

Igerbam
  • 61
  • 4

1 Answers1

0

I already found out. I navigate to the website by a TWebBrowser https://lehrer-programm-experience.netlify.app/version.html and then take the text out of the site:

NewestVersion := WebBrowser1.OleObject.Document.Body.InnerText;
Igerbam
  • 61
  • 4