I want to download a string from a URL that would essentially look like this:
In C# WinForms, I know I can do this:
using System.Net;
WebClient client = new WebClient();
string str = client.DownloadString("https://website.com/file.txt");
And the string would be stored in str. I want to do exactly that in a C++ VCL application.
There are plenty of HTTP libraries that are available for C++Builder. It even comes with 2 pre-installed:
Indy's
TIdHTTPcomponentEmbarcadero's
THTTPClientcomponent: