Hello! I've watched some videos about REST/Datasnap client server with XE5.
Hello! I've watched some videos about REST/Datasnap client server with XE5.
The examples I saw shows using of simple functions. I will need to return a table result.
How do I build this? Should be a procedure?
The examples I saw shows using of simple functions. I will need to return a table result.
How do I build this? Should be a procedure?
Good afternoon Magno.
ReplyDeleteIn cases like this one, I use a simple solution, lists (TList or TDictionary) with objectes inside (classes like TClient for example).
See ya!
Well, should work, but this will not return as a JSON type. I read about using Data.FireDACJSONReflect unit on Cantu's site and will gonna give a try, but I read also some people with issues. Thank you.
ReplyDeleteI was able to use FireDACJSONReflect but the data returing is such: {"FData":"QURCUwkAkwAccgA..... } is this correct?
ReplyDeleteHi!
ReplyDeleteCheck the config of your server Rest to see encription details.
Can find nothing about setting encryption or compression. Right now trying my own JSON serializer.
ReplyDelete