How can I attach a photo to a PDF from a HTTP web call?
Hi all -
I am developing a Acrobat Javascript to download survey results from Epicollect 5 (a basic data collection app) and populate them in a PDF form.
I am able to make HTTP requests using Net.HTTP.request to authenticate and to retrieve the text results from the survey.
But the survey results also include a set of photos, which can be retrieved individually by a GET request. Can anyone provide any hints or examples of how to add a .jpg image as an attachment from the stream result from a web call?
My idea is to download and add the images as attachments, then switch the image fields on the form to display those images.
Thanks,
Doug
