Hello everybody,
How can I attach a String as a file to message?
We will use SOAP, REST or something to upload this file? Do we need to pipe this string to a file in local disk? after that upload this file as an attached file?

I had a String generated from JS.
And then i want to attach this String as a file in JS programatically.

Any advices or samples will be appreciated!