Try setting your method to put instead of post, include the filename in the URL, loadAs bytes, map your file content into data/bytes. that usually works for me. stream works as well.
Thanks griffima. That is how we have done it in the past as well. The problem with this one is that I actually do not have a “file” that I am sending, but rather I am building a string in wM which then I want to Post/Put (don’t care which) to the site. Since it’s not yet a file, it doesn’t have a name to send with it.
The put method I was describing is not actually sending a real file right, just content being passed by the IS, happens to be bytes in this case but its not a real file until written out on the other end. The put tells it to treat the URL as a file name as you know. More efficient that post for uploading files assuming the web server you are putting to supports it.
Not sure I understand that comment. Why don’t you have a name to pass via the URL? If it is a variable you are creating on the fly you still would just append it to the end of your URL.