cancel
Showing results for 
Search instead for 
Did you mean: 

Problem using REST API Group Service

jesty
Champ in-the-making
Champ in-the-making
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
1 REPLY 1

jesty
Champ in-the-making
Champ in-the-making