Hi Michael,
I'm running into a similar issue. I'm creating a client app in C# that will be capable of uploading files as attachments.
The url and header looks ok...
http://server:8080/qcbin/rest/domains/ABC/projects/XYZProject/defects/13/attachments
Content-Type: multipart/form-data; boundary=myboundary Content-Length: 251
The body looks ok...
--myboundary
Content-Disposition: form-data; name="filename"
hello.txt
--myboundary
Content-Disposition: form-data; name="file"; filename="hello.txt"
Hello World!!!
--myboundary--
But I'm getting this error from the server....
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><QCRestException><Id>qccore.general-error</Id><Title>Illegal multi-part arguments. Attachment wasn't created.</Title></QCRestException>
I've been scouring the internet looking for an explanation but have come up short. Any idea what this error means?
Thanks,
Anthony