Vote UpVote

REST Parameter Caching

Mat DeLong – In DataSnap XE you can specify how you wish to retrieve complex data types from a remote method invocation using REST. For example, if you had the following server method: function GetImage(Key: String; out R1: TStream): TStream; Then you could invoke it using the following URL: http://host:port/datasnap/rest/ClassName/GetImage/SomeKeyValue The problem, however, is that you will only be able to retrieve those streams as a JSON Array of bytes. If there was only one stream being returned, then you could use the "json" query parameter, setting it to false, to say you want the content of the ...
Favorite? Off-Topic? Mat DeLong @ 2011-04-01 16:47


Visits: 46
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)