AnsweredAssumed Answered

Problem using REST API Group Service

Question asked by jesty on Jun 30, 2010
Latest reply on Jun 30, 2010 by jesty
Hi all,
I want create a new group using the REST Api. I found this page on wiki: http://wiki.alfresco.com/wiki/3.2_REST_API_Group_Service and the get:

http://localhost:8080/alfresco/service/api/rootgroups works well.

When i try to create a new group using method POST and this json object: {"authorityType":"Group","shortName":"testGroup"} I receive an error 500:

18:10:35,190  ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 05300069 Script url /api/rootgroups does not support the method POST
org.springframework.extensions.webscripts.WebScriptException: 05300069 Script url /api/rootgroups does not support the method POST


Why? How can I do?
Thanks,
Davide

Outcomes