Delphi Handbooks Collection


Delphi XE Handbook


Delphi 2010 Handbook


December 3, 2009

REST in Delphi: Client Videos

The two first videos accompanying my REST in Delphi 2010 White Paper showcase the development of Delphi REST client applications.

The two first videos accompanying my REST in Delphi 2010 White Paper showcase the development of Delphi REST client applications.

In the first video, I show how to create a simple REST client step-by-step using a blog feed example (www.delphifeeds.org) and processing the resulting XML with XPath:

;

In the second video, I create REST client applications for maps, including finding a location with the Google API and getting a map using the Yahoo service.

Again, the example are available also on ajax.marcocantu.com/delphirest. The last one (the client side map) is not there because there are registration issues with Google Maps to make it work. I'm looking into it, but I won't suggest anyone doing an activity Google might claim to be illegal.

 





 

5 Comments

REST in Delphi Client Videos 

Hello

I'm enjoying the series but I'm having trouble getting
one of the applications to work.

I'm trying the google spreadsheet example but I get
the error "Error connecting with SSL" in the
TGoogleAuth.Renew method. 

I've checked that the googlemail variables are correct
for my account (google email, password, service name)
and I've created a spreadsheet called
"wintechitalia-dbtosheet-v2.01".

Comment by Matt on December 9, 17:17

REST in Delphi Client Videos 

Matt,

  two possible problems. First, you need to have the 
proper OpenSSL DLLs in the program folder (but this is 
not the case, as you'll get a different error). Second, 
you might have to set the SSL version. The line is:

SslHandler.SSLOptions.Method := sslvSSLv23;

Hope it is in the code (it should). That's all I can 
think of.
Comment by Marco Cantu [http://www.marcocantu.com] on December 9, 17:26

REST in Delphi Client Videos 

Hello Marc,

In the samples the ini file is missing. 

Eric 
Comment by Eric on September 29, 10:14

REST in Delphi Client Videos - Geolocation 

Hello Marco,
So i got the Google Maps DevKey and with an 
GeoLocation.ini file an content as you described at
xour ajax site it works. But i got an EConvertError
with the StrtoFloat() functions. A workaround 
was to add the line 
SysUtils.DecimalSeparator := '.';
before calling them.

Examples should work !
Comment by Eric on September 29, 11:05

REST in Delphi Client Videos 

all vedio only show the rest get function. is there 
possiable to add some example to use rest post, put 
and delete function. thanks.
Comment by charley on November 4, 20:12


Post Your Comment

Click here for posting your feedback to this blog.

There are currently 0 pending (unapproved) messages.