Now I'm trying to upload file using the #RestApi. I use the Web Script /alfresco/service/api/upload but i'm receiving an error 500(internal error):An error inside the HTTP server which prevented it from fulfilling the request.
File Upload
POST /alfresco/service/api/upload
Upload file content and meta-data into repository.
HTML form data
* filedata, (mandatory) HTML type file
* siteid
* containerid
* uploaddirectory
* updatenoderef
* filename
* description
* contenttype
* majorversion
* overwrite
* thumbnails