Fabricio Colombo created a Delphi REST client API to consume REST services written in any programming language on Github. It supports two implementations, using Indy 10 and WinHTTP.The API was tested in Delphi 7, XE, XE2 and XE3.

The library uses JSON serialization to and from Delphi objects and supports Generics. This allows to perform complex REST commands with little code, for example a GET which retrieves a TPerson object list:

  vList : TList<TPerson>;
  vList := RestClient.Resource('http://localhost:8080/java-rest-server/rest/persons')

See also: Open source REST client libraries for Delphi


2 thoughts on “A Delphi REST client API open source library

  1. I use this component and I have a question. How to use GET method with Json Body in delphi 7?

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s