Jump to content

RyszardK

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by RyszardK


  1. Hello.

    I have a DataSpan application written in Delphi 10. Right now I want to migrate to Delphi 11.1.

    Certain REST methods returning files as TStream. 

    New version in Delphi 11 the stream response format  in JSON Array.

    I can get a content stream with a client-side parameter like this: http://host:port/datasnap/rest/[Class]/[Method]/?json=false

    But is there a way for the DataSnap application in Delphi 11 to return the result as stream by default.

    The application is used by many external clients and I see a problem with modifying all their REST queries to the server.

    Thank you in advance for your help.

    • Like 1
×