I am trying to download a file through API, but the API call results in binary encoding of the file.
The link above says - “Download previously uploaded file via submission. This API will send a 302 redirect response and redirect to a signed URL to download the file. The file itself is not in the initial 302 redirect response itself.”
I want to download the previously uploaded file via submission. How do I go about downloading the file after the initial response?
Thank you. I did use the ResourcePath property. As you can see in the image I had uploaded, the “Download Resource” field is populated. I have provided the path to Downloads folder in that property, but nothing gets downloaded. I have verified that the file exists within the API I am calling.
Thank you, this worked. I was able to download the test.html file. I modified the settings in the same activity to download the file from formstack. It worked. The file I wanted was downloaded.
Do you happen to know how to make the resource path dynamic? The name of incoming files would keep changing. I want the bot to download which ever file is present in the API call.