Short demo of the new TRESTClient on a mobile Android application with Delphi XE5. It consumes a JSON REST service and uses the TRESTResponseDataSetAdapter to adapt it into a TClientDataSet. The TRESTClient components are new in Delphi XE5 and work everywhere Delphi does: Windows, Mac OS X, iOS and Android.
Learn more about multi-device, true-native app development with Delphi XE5.
Get the source code.
5 replies on “Delphi XE5 Mobile REST Client Demo”
Cool indeed – thanks for sharing that. I had no idea there was built in REST in XE5. I’m in the early stages of learning about REST – it’s unclear to me, is this still using DataSnap ?
@John: This is a new technology in XE5, I don’t believe there is any relation to DataSnap, but I may be wrong.
could release the source of this example
@Leonel: Here is the source code: http://delphi.org/downloads/MobileRestXE5.7z This is a blog post coming tomorrow to talk about a couple changes.
It would be really nice to see a demo issuing a PUT command against a DataSnap server.