Home > Enterprise >  Content-Type response in the REST DataSnap not working for me
Content-Type response in the REST DataSnap not working for me

Time:09-17

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 postam header results

What is wrong in my code?

CodePudding user response:

As Oliver said in the comments, just add the parameter ?json=false to the URL

Postman

It work!!!

  • Related