Questions tagged as 'datasnap'

0
answers

How to retrieve the id inserted in sqlserver database using delphi datasnap

How to get the id that has just been inserted into the database on the server side, use Delphi XE10.1 SQlServer and Firedac Bank, I would get the id to use in the child table when it is master detail. as shown below procedure TsrmCadastro.dspP...
asked by 09.01.2017 / 22:27
0
answers

Chat with two types of client

I want to chat in Delphi. In a standard project where the two tips would be using a Delphi, quiet application (SocketServer and ClientSocket). But my question is as follows: One end will be using a Delphi project and the other will be using a We...
asked by 30.08.2016 / 16:23
0
answers

Extract JSON data on Android received by DataSnap

I've never worked with datasnap I do not know how to extract! Someone can help me, I leave the code I have: DSRESTConnection conn = new DSRESTConnection(); conn.setHost("54.207.112.131"); conn.setPort(8787); conn.setProtocol("http");...
asked by 10.12.2015 / 20:21
2
answers

How to pass a parameter from the server to the client in Datasnap?

How can I send and receive data using datasnap? I have a database MySql, a Mobile application in Delphi Seattle with a datasnap server, the connection works and I can get the data from the bank and play pro mobile, but my question is: I need to...
asked by 28.03.2016 / 14:54
1
answer

How to change the Content-Type response in the REST DataSnap

I have a project made from WebBroker REST , running as a service, I need to change the response Cotent-Type to 'application/json' and by default WebBroker REST brings me as a result    Content-Type 'text / html; cha...
asked by 31.01.2017 / 13:54