I am trying to deploy the hello world sample server project from your documentation. We purchased the .BIZ modules and are trying to create a html form server to capture html form data.
We are using a CentOs Linux server and PAServer to deploy the Delphi project. All of that is working.
Is there any way to do this without using an Apache .so? It turns out CentOs on Linux does not allow for custom .so apache modules if using WHM/Cpanel. How can a REST server be created on Linux distros but work regardless?
First, I do not understand the following line:
procedure(const C: THttpServerContext)
Specifically, the URL. I get localhost, but why the /tms/hello? Is this a dynamic webpage? What does this link do?
Second, there is no modules-available directory on our CentOs Linux server, so where do I create the .conf and .load files?
Third, I added these lines of code to grab the html form data and display it:
ContentAsUTF8String := TEncoding.UTF8.GetString(C.Request.Content);
// Display the results of the form data
How do I send form data to this server so that those lines work? I did declare ContentAsUTF8String as a UTF8String.
I just need a bit of guidance to get the apache module to work. We are using RAD Studio 10.4 Sydney Delphi Architect.