Jump to content

magicseb007

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Hi, I'm using Rad Studio C++ Builder and I need to retrieve a PDF with a REST api. Testing with the postman site, in the body of the response I see the pdf fine and can save it. Going through C++Builder, I can't save the pdf. Here is the response from the API: Connection=keep-alive Date=Wed, 19 Oct 2022 13:17:11 GMT Content-Length=15891 Content-Type=application/pdf Vary=Origin Content-Disposition=attachment; filename*=utf-8''-HUGO-concentr%C3%A9_bien-%C3%AAtre-Maux_de_t%C3%AAte-8ml-de0752a5-21c4-49a6-9fa7-1183e9f1ed0d.pdf X-Frame-Options=DENY X-Content-Type-Options=nosniff Referrer-Policy=same-origin Strict-Transport-Security=max-age=15724800; includeSubDomains How to get the file or the contents of the file and save it? Thanks
×