I build a DataSnap REST server with the wizard in Embarcadero® Delphi 10.4 Architect. I need to create a simple method to get a PDF file from a client, such as Postman.
I wrote the next code after reading
What is wrong in my code?
CodePudding user response:
As Oliver said in the comments, just add the parameter ?json=false
to the URL
It work!!!