Actually you can do this with SOAP and direct socket connection too.
Bonus is that you can put that small server side program to server and all PCs with network access can request it.
On SOAP you will heve to publish WSDL and add XSD for data validation. REST is more lax here and does not need such things.
Direct TCP/IP socket is lowest level connection .
Once you have such REST server just about any programming environment can connect to it and work with it.
Diego Euri Almanzar wrote: ↑Thu Apr 18, 2024 12:24 am Auge_ohr, totally agree.
SlavkoDam: I was watching the programs you indicated to me. It's super interesting, I really appreciate the help. Thanks to the help of all of you, I am now aware that the only way to interact with Alaska Xbase++ DLL libraries is through a REST API.
Although, when studying the indicated source programs, I still do not understand why two executables are formed: HTTPSERVICE.EXE and HTTPCTR.EXE
I still don't understand what the relationship is between the two, nor do I understand how to form the endpoint URLs, or the controls, that a REST API should have. Since, obviously, access to a REST API is through a URL.
Of course, the idea is great, I just have to continue studying the case, or continue looking for a more illustrative example than Alaska Xbase++.
Finally, you would also have to learn how to publish the REST API. It would be necessary to investigate whether it is through IIS, or as a service installed on the computer.
Best regards.