โ08-18-2017 01:41 PM
Seems like a silly question, but I have a pipeline with a REST POST snap like below which posts a file pulled directly from the SLDB filesystem and posts it to a URL, specifying an Upload File and Upload File Key. This seems to work fineโฆ
But my file wonโt really be coming from the SLDB filesystem, so I want to pretend my file is coming in via prior snaps in the pipeline and reference that in the REST POST using the HTTP Entity. So instead Iโm loading the file separately and then running it through a BASE64ENCODE, mapping that to the same Upload File Key and then trying to REST POST that, but doesnโt work.
Any ideas?
โ08-18-2017 08:21 PM
Hi Chris,
Iโll let the SnapLogic folks reply officially, but a while back I made a REST Post โBinary Form Inputโ custom snap thatโd probably fit your use case. Happy to share and problem solve with you to get it to work for you.
Regards,
Andrew
โ08-19-2017 06:25 AM
Hi Andrew,
Yes please. If you have an example, I would love to check it out.
Thanks!
Chris
โ08-21-2017 09:06 AM
Hey Chris,
Want to email me at andrew_holbrook@mckinsey.com? I canโt attached the snap pack as is to this platform.
Thanks!
Andrew
โ08-03-2021 12:17 AM
Hi Andrew,
Do you know how to send multiple files to rest post snap? The file numbers are dynamic so I cannot add them in rest post snap, we can expect a minimum of 1 file to maximum of 10 files. All the files needs to be sent in 1 rest call and file content types also vary(CSV,excel,jpegโฆ)