Forum Discussion

TimBurns's avatar
TimBurns
New Contributor III
6 years ago
Solved

How to stream a binary PDF file to a file using Snaplogic

I am trying to stream a binary PDF file to a file using Snaplogic. The equivalent would be to the following command: curl “http://www.pdf995.com/samples/pdf.pdf” --output …/out/pdf.pdf Is this ...
  • robin's avatar
    6 years ago

    You can stream files from HTTP via either REST GET Snap (with Binary as the “Response Entity Type” setting value) or the File Reader Snap.

    Pipeline: 7185_rest-get-pdf_2020_04_02.slp (7.9 KB)

    If you are calling an endpoint that sends a multipart response, you may also consider leveraging our Multipart Reader Snap