Hello All,
How can we download a file from API response below is the response body which I couldnt convert and download. File type might be anything .xlsx, .PDF, .docx, .txt.
With this resposne I'm able to download the actual file from Postman, but not in outsystems flow. How to decode this and dowload the acutal file.
Regards,
Vinod
Hi Vinod,
You can certainly do that, you might need to prepare the response object correctly.
Are you able to share the application OML file so I can test and suggest you any workaround?
Hi all,
How can we download a file from Lifetime API response below is the response body which I couldnt convert and download. File type might be .oap.
And how to download the actual file type from postman? Thanks in advance.
Thanks,
Harini
The API describes the type of output parameters. I would think that if a file is sent in the body, you need to specify an output parameter with type Binary and Send In = Body.
Hi Kilian,
Thanks for your reply. But can you explain in brief how to download the actual file from the API response in postman.
FYI, when I click and run this URL in postman, I get binary data in the response body as shown in below,
Please help me on this.
Hi Harini,
This isn't a Postman forum, so please do not ask specific Postman questions. However, just use the "Save Response" link and choose "Save to file".
EDIT: I just saw Piyali also gave this answer, below.
Hi Vinod Kumar R.
You can save the response of the API by clicking on save response> save to a file. This will give you a file in json format of response data.
Hope this will help you.