例如 我需要 调用这个地址 并传递参数
http://localhost:8080/datasnap/rest/TServerMethods1/EchoString?aaa=abc
在 delphi 调用
function TServerMethods1.EchoString(Value: string): string;
begin
Result := GetInvocationMetadata.QueryParams.Text ;//取得参数
end;
补充 我用的是Xe7,