cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot create new user with out of the box script

kaffi
Confirmed Champ
Confirmed Champ
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:


{
  "userName": "maxthetestuser",
  "firstName": "Max",
  "lastName": "Testmann",
  "email": "test@234.ch",
  "password": "password123"
}


Can somebody give me a hint?

Best regards
Kaffi
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
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.

kaffi
Confirmed Champ
Confirmed Champ
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
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.