Cannot create new user with out of the box script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2016 05:27 AM
Hi Guys!
If I try to invoke org/alfresco/repository/person/people.post script to creat an user. It always invokes the GET version of this script instead of the POST version
I have used the following json string as body text:
Can somebody give me a hint?
Best regards
Kaffi
If I try to invoke org/alfresco/repository/person/people.post script to creat an user. It always invokes the GET version of this script instead of the POST version
I have used the following json string as body text:
{ "userName": "maxthetestuser", "firstName": "Max", "lastName": "Testmann", "email": "test@234.ch", "password": "password123"}
Can somebody give me a hint?
Best regards
Kaffi
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2016 05:33 AM
How are you calling that webscript? Curl, HTML, Java Code? Generally there will be a Method parameter somewhere that you need to set to POST.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2016 10:59 AM
I have tried to invoke it by curl and I set it to POST, but somehow it returns me always the GET Version of the script. Is the GET call some kind of fallback?
Regards
Kaffi
Regards
Kaffi
![](/skins/images/C4B9070548353DBFB29577F0FA7263C6/responsive_peak/images/icon_anonymous_message.png)