0
votes
Invoking Multiple Server Methods With a Single Call
Mat DeLong
– It is possible in a DataSnap REST call to format your request in such a way that the single call will invoke multiple server methods before returning a result. To do this from a JavaScript REST client, for example, you’d include the ServerFunctionExecutor.js file and appropriate json file to your web page, and then make a JSON Array containing the server method information to send: var Msg = [{"execute":{"TServerMethods1.EchoString":["Hello, World!"]}}, {"execute":{"TServerMethods1.ReverseString":["Hello, World!"]}}]; The above JSON array contains a JSON Object for each method to ...
Statistics
|
Visits by Source |
User Actions |



