08-04-2017 05:42 AM
i am trying to update the name of a document in alfresco using the webscript :
POST /alfresco/service/api/node/content/workspace/SpacesStore/
i am getting a 405 responce from the server .
is this the right webscript to update a node properties ?
this is the code i am using to send the request
HttpPost httppost = new HttpPost(urlString);
JSONObject json = new JSONObject();
json.put("ContentType", "application/json");
json.put("name", "yosri");
HttpEntity e = new StringEntity(json.toString());
httppost.setEntity(e);
HttpResponse response = httpclient.execute(httppost);
08-17-2017 08:19 AM
SpacesStore
08-17-2017 08:24 AM
thank you very much much it worked at last
Explore our Alfresco products with the links below. Use labels to filter content by product module.