You are not logged in.
Is possible to replace '.' in method call (POST) to non-Delphi REST server?
If I define REST interface like:
IRESTTEST = interface(IInvokable)
['{.....}']
function JobInfo(JobInfo: TJobInfo): Integer;
end;
Delphi method call (URI) goes out as: http://<adr>/root/RESTTEST.JobInfo
Is it possible to replace this to: http://<adr>/root/RESTTEST/JobInfo ??
Interface is registered with TSQLHttpClient.
...or where is the place for preparing output uri?
There is an very known example ... Calculator.Add ... I want to send: 'Calculator/Add'
Sinisa V.
Last edited by svuk (2020-03-18 15:14:14)
Offline
Both works.
It is documented as such.
https://synopse.info/files/html/Synopse … #TITLE_455
Please check the doc first!
Offline
Thanks for a hint.
In a meanwhile, found another way ... using event OnEncryptBody where uri can be edited too..
Offline