« Back to full topics list

I’m issuing an http GET request that returns images (PNG, JPG, GIF, etc.). How do I capture this as a binary?

Marked as spam
Posted by - Asked on June 12, 2017 7:34 pm - 78 views

1 Replies

Private reply

Hi Wendy,

You can use the returnFileRef parameter of the request function on the http module and set it to true (https://www.scriptr.io/documentation#documentation-httphttpModule). This will return a file reference to the downloaded file. At that point you can either post it to another service using the http module or save it in a document as an attachment using the document module.

Keep us posted.

Julien Mrad,

Marked as spam
Posted by - Replied on June 13, 2017 12:23 pm