Problem using REST API Group Service
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2010 12:13 PM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2010 12:17 PM
