This is part 3 in my series of developing an REST server and client application and will focus around using the TRESTResponseDataSetAdapter.
In my last two posts, we have created a REST server with a fully documented API using YAML , and exposed 3 datasets with master detail relationships over REST using zero lines of code. If you have not read and watch the videos. I would suggest starting there. – It’s now time to consume the API into a cross platform Delphi Client.
Steps to making the client
The video and supporting blog post take you through the following.
- Setting up components to connect to the REST API. (RAD Style)
- Converting the JSON into a master detail datasets (based on the current item in the JSON data)
- Enabling the data in the UI with LiveBindings and zero code.
- Tricks for reducing API calls.