Forum Discussion
koryknick
2 years agoEmployee
nativeBasic - I do pretty well with the HTTP Client to call most APIs but I've only ever used a pre-existing file to post to a multi-part form. If you don't want to use the SLDB to write the file and have to worry about cleaning it up, you could write the file using the pipe.tmpDir build-in property. This is a temporary directory that only exists while your pipeline is executing; as soon as the pipeline completes (success or failure), the directory and all contents are automatically purged. This should also be faster than SLDB and doesn't have the 100MB file size restriction imposed by the SLDB.
Hope this helps!