Create PDF from json data via API call

Hi,

I was exploring the way we can generate PDF document from the json string submitted by a form data via http flow function.

I found exportsdk.com useful for this purpose. But, the problem I’m facing is to capture and save the PDF file.

As per their documentation, the PDF file is returned as binary data.

Response#
The Content-Type header of the response will have a value of application/pdf and the PDF file binary data will be returned in the response body.

I am not able to download and save the file as PDF document to the device. I was trying on Android device only. Any help will be highly appreciated.

Thanks in advance.