Instantly expose a table as a REST endpoint – again.

12 Responses

  1. How can I change the configuration of the deResft api to work with the Zeoslib library because I am limited with firedac by driver and the version of delphi that I have.

    • I’m not familiar with Zeoslib.
      deRest depends on the TFDConnection and TFDQuery classes, if you’re able to query your data using these, then deREST will work with it.
      I believe Delphi Professional edition does include these classes, though connectors for remote databases is limited – it would help to know which DBMS you’re connecting to.

  2. Dedi Supardi says:

    Dear Craig,
    I have download the latest for it at github. In 32bit Platform it can build and install well. but in 64bit Platform it could not build. the error message show statement like these

    [dcc64 Error] pkg_deREST.dpk(39): E2200 Package ‘pkg_deREST’ already contains unit ‘deREST’
    [dcc64 Error] pkg_deREST.dpk(40): E2200 Package ‘pkg_deREST’ already contains unit ‘deREST.filterparser’
    [dcc64 Error] pkg_deREST.dpk(41): E2200 Package ‘pkg_deREST’ already contains unit ‘deREST.restfilter.standard’
    [dcc64 Error] pkg_deREST.dpk(42): E2200 Package ‘pkg_deREST’ already contains unit ‘deREST.restresponse.standard’
    [dcc64 Error] pkg_deREST.dpk(43): E2200 Package ‘pkg_deREST’ already contains unit ‘deREST.restarray.standard’
    [dcc64 Error] pkg_deREST.dpk(44): E2200 Package ‘pkg_deREST’ already contains unit ‘deREST.restobject.standard’
    [dcc64 Error] pkg_deREST.dpk(45): E2200 Package ‘pkg_deREST’ already contains unit ‘deREST.pathinfo’
    [dcc64 Error] pkg_deREST.dpk(46): E2200 Package ‘pkg_deREST’ already contains unit ‘deREST.types’
    [dcc64 Error] pkg_deREST.dpk(47): E2200 Package ‘pkg_deREST’ already contains unit ‘deREST.api’
    [dcc64 Error] pkg_deREST.dpk(48): E2200 Package ‘pkg_deREST’ already contains unit ‘deREST.producer’
    [dcc64 Error] pkg_deREST.dpk(49): E2200 Package ‘pkg_deREST’ already contains unit ‘deREST.authenticator’
    [dcc64 Error] pkg_deREST.dpk(50): E2200 Package ‘pkg_deREST’ already contains unit ‘deREST.passthrough’

  3. Dedi Supardi says:

    Dear Chapman…Is this support for Delphi 10.3 Rio?

  4. Peter Edwards says:

    Craig – as ever you take REST development forward in leaps and bounds. Im going to share this in the UK dev group. Perhaps Jason can get you along to a meeting to talk to us troops . Cheers and thanks. Pete

  5. Adelson Nunes says:

    I am running tests and realized that the result is normally presented in the browser, however, in RESTDEBUGGER and DELHI does not return error and neither brings results and some tables that I am testing, I use FIREBIRD.

    • Adelson Nunes says:

      in deREST.api alter line 1158 from Response.ContentType := ‘application\json”‘; to Response.ContentType := ‘application\json; charset=”UTF-8″‘; and line 1164 from Response.ContentType := ‘text\plain”‘; to Response.ContentType := ‘text\plain; charset=”UTF-8″‘;

  1. 2018-07-21

    […] [NEW UPDATE] I’ve replaced this component with a re-write named “deREST” – find out more here:¬†http://chapmanworld.com/2018/07/21/instantly-expose-a-table-as-a-rest-endpoint-again/ […]

Leave a Reply