How it works...

We will use a sample server called PeopleManagerServer.dproj, which is located in the Chapter03\RECIPE02\Server folder. Ensure that TCP port 8080 is available on your system and that your local InterBase instance is running. Run the server project. The server is not in the scope of this recipe, so we'll just use it as a black box; however, it handles CRUD and some kind of business logic and searches over a database table called PEOPLE, which is contained in a sample database called SAMPLES.IB. This server will be developed in Chapter 6, Putting Delphi on the Server in the recipe Implementing a RESTful interface using WebBroker, so if you are curious about its details, read that chapter and then come back here.

Now, open the ...

Get Delphi Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.