Working at a low level with WebBroker
The most simple and generic web server development framework in Delphi is WebBroker. It is the underlying technology for many specialized web service types that you can build with Delphi, such as SOAP XML web services, DataSnap, and RAD Server. If you create a new web server app with the New WebBroker App wizard, you can implement arbitrary HTTP server functionality. In our case, that will be a simple web service that will provide REST API access to a new version of the Todo application.
Here are the steps to start building our first WebBroker server application:
- Click on File | New | Other in the IDE and double-click on the Web Server Application wizard in the Web category.
- On the first page of the wizard, titled Platform, you have the option to indicate the target platforms. Windows is required, and you can add Linux if you want. I recommend enabling it if your version of Delphi supports it.
- On the second page of the wizard...