#1 Re: mORMot 1 » Is possible to replace '.' in method call to non-Delphi REST server? » 2020-03-24 20:17:53

Thanks for a hint.

In a meanwhile, found another way ... using event OnEncryptBody where uri can be edited too..

#2 mORMot 1 » Is possible to replace '.' in method call to non-Delphi REST server? » 2020-03-18 14:58:30

svuk
Replies: 2

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.

#3 Re: PDF Engine » Pdf made from a Jpeg GrayScale has a red background, instead of white » 2016-02-16 13:41:43

DrawXObject goes from bottom of page to up. So must be:

APdfDocument.Canvas.DrawXObject(0, page.PageHeight, page.PageWidth, page.PageHeight, AName);

Board footer

Powered by FluxBB