You are not logged in.
Hi ....
I have interface based service in server. The code :
IRemoteSQL = interface(IInvokable)
['{0E34DC10-0A32-4A19-97E4-8012E06D32AA}']
function ExecuteSQL(const aSQL: RawUTF8; aExpectResults, aExpanded: Boolean): RawJSON;
end;
How to execute function ExecuteSQL using browser ?
Last edited by bagusprasojo (2016-07-27 02:37:01)
Offline
The URI is available in the docs.
See http://synopse.info/files/html/Synopse% … #TITLE_437
But I would NEVER expose such a query to browsers.
It would be VERY unsafe to allow such remote SQL execution.
Use a persistence service instead, with safe methods to retrieve or write data.
Offline
Thank you AB,
I Agree with you. I would NEVER expose such a query to browsers. I just want to test execute my method on browser.
Offline