AnsweredAssumed Answered

How to Download a pdf document from an API with cURL-FMP16

Question asked by ThierryGuemboura on May 7, 2018
Latest reply on May 9, 2018 by ThierryGuemboura

I am adding the last complexity to my FMP16 to client API bridge.

  1. I successfully Authenticate and can exchange bi-bidirectionally (not all at once obviously) data from and to the API. Big JSON arrays, etc. = No problem. Upload encoded documents = no problem but...
  2. My last hurdle is to download a pdf document and I am stuck.
  3. Fidller screenshot below shows my Request and the response
    Download Doc.JPG
  4. The problem is that I don't get the file named 120100000215_Fnol.pdf. I have tried both type of Result field i.e. Text or Container. Where is it going? Nothing pops up asking me to save the document. I guess I am missing another header or maybe a setting to set where to download the file. I know MBS Plugin can probably do the job but I would like to avoid the cost of the plugin if possible.

Thank you in advance.