I am trying to upload a file using
Upload upload = uploadService.uploadFile(fileName, fileStream, fileType, description);
This is the post body
--146bdc89009
Content-Disposition: form-data; name="temp2566689044278828576s.png"; filename="temp2566689044278828576s.png"
Content-Type: image/png
Content-Transfer-Encoding: binary
����C ..
--146bdc89009
Content-Disposition: form-data; name="name"
Content-Type: text/plain; charset=UTF-8
temp2566689044278828576s.png
--146bdc89009
Content-Disposition: form-data; name="type"
Content-Type: text/plain; charset=UTF-8
IMAGE
--146bdc89009
Content-Disposition: form-data; name="description"
Content-Type: text/plain; charset=UTF-8
wqewer
--146bdc89009--
And this is a partial list of the header parameters
timeStamp=[2014-06-21T09:36:13.164Z]
User-Agent=[Profile/MIDP-1.0 Confirguration/CLDC-1.0]
SDKName=[J2ME]
Content-Type=[multipart/form-data;boundary=**********]
Accept=[application/json]
signature=[Bgr70TrE9D3tHMFBwdbJIeMj6QA=]
apiKey=[4d1dbd8dbbeee0b9f10e654b426686ecabb6ec09206fc18d6d05b22880919c44]
version=[1.0]
I keep getting Error 500, internal server error. What is the problem.