Hello,
I found the rootcause for my problem. I thought the "Content-Length:" was required in the header but it's not. This was causing the "Illegal multi-part argument" error.
Now the "Content-Type" looks like this...
Content-Type: multipart/form-data; boundary=myboundary
Anthony