Hi,
I am looking for a sample json request to upload the documents into alfresco.
Could someone help me creating a JSON request to upload documents using SOAP UI or any REST Client.
I could upload the documents using html form. Request:<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/><title>File Upload</title></head><body><form method="POST" name="uploadForm" enctype='multipart/form-data' id="upload_form" action="https://alfresco-stage:8443/alfresco/service/api/upload"><input type="hidden" name="destination" id="destination" value="workspace://SpacesStore/cea187e1-b73d-43c7-a2d6-1ec7b1c37715"/><label> Name:</label><br/><input type="text" name="filename" id="filename"/><p/><label> Description:</label><br/><textarea name="description" id="description"></textarea><p/><label> File:</label><br/><input class="button" type="file" name="filedata" id="filedata"/><p/><input class="button" type="submit" name="submit" value="Upload"/></form></body></html> Response:{"nodeRef":"workspace://SpacesStore/f24e5dc3-f8c6-427b-8cee-bec0236543a2","fileName":"SrinivasDocument","status":{"code":200,"name":"OK","description":"File uploaded successfully"}}