RESTClient控件返回数据集
用到的控件
RESTClient
RESTResponseDataSetAdapter
procedure Tfrm_Main.btn_DataSet_FetchDataClick(Sender: TObject); begin ResetRESTComponentsToDefaults; RESTResponseDataSetAdapter.Response:= RESTResponse; RESTResponseDataSetAdapter.Dataset:= ClientDataSet; RESTClient.BaseURL := edt_DataSet_BaseURL.Text; RESTRequest.Resource := edt_DataSet_ResourceURI.Text; RESTRequest.Execute; end;
官方例子Studio\14.0\Samples\Object Pascal\Database\RESTDemo
RESTClient 控件 从服务器获得数据集,布布扣,bubuko.com
原文:http://www.cnblogs.com/cb168/p/3887269.html