I was going to ask this question, but I did figure it out, so I thought I'd post it here if anyone else is ever needing it:
I need to send a file (from File Storage) using a WebRun node, is this possible?
Similar to this curl:
curl -H "Authorization: Bearer $AUTHORIZATION_TOKEN"
-X POST
-F "file=@$PATH_TO_CSV_FILE"
"https://$HOST/THE_API"
The answer turned out to be:
In the header string I needed to add
Content-Type: multipart/form-data; boundary=<!boundary>
Where boundary can be any string
Then set a body variable like
"--" + boundary + "
" + 'Content-Disposition: form-data; name="file"; filename="myfilename.csv"
'
+ 'Content-Type: text/csv
' +FileAccess7990_outputData + "
" + "--" + boundary + "--";
my file data is in FileAccess7990_outputData
the body variable is put into the Post String of the WebRun node
