Skip to main content

How to download an API's response, when the response is not text but an image/pdf

 

Customer tried exploring the Base64 technique, however we are unsuccessful at it. 

Hi ​@Hiren Savla,

The output that you would get will be the URL of the image/pdf. You can use that URL and put it in “Download file” action in the Browser action package. This will get your file.

Thanks


Yes ​@abhay_naik that works well for GET requests. For POST requests ​@Hiren Savla see the checkbox in the REST Web Service: POST method for saving files including PDFs. This method works with most if not all POST file requests. 


Reply