03-08-2022 09:31 AM
I have and Excel Formatter and a Rest Post Snap. I want to send the Excel File in the Rest Post Snap. Why do I have to write the Excel file to disk first? Can I create the Excel file in memory and pass that to the Rest Post Snap somehow without going to disk first?
Solved! Go to Solution.
03-08-2022 01:19 PM
You can send the binary content(file) in the HTTP entity field of the REST Post snap also:
Rest Post Snap can get the content of the file from the upstream snap, without storing the file.
03-08-2022 01:03 PM
03-08-2022 01:16 PM
thats what im doing. I dont need to save it on the disk though. seems like a waste of time. Seems like I should be able to pass a variable to the rest post snap pointing to the file in memory and not write (file writer) then read (rest post) from disk. But, OK.
03-08-2022 01:19 PM
You can send the binary content(file) in the HTTP entity field of the REST Post snap also:
Rest Post Snap can get the content of the file from the upstream snap, without storing the file.