diff --git a/wise-webapp/doc/REST Services.md b/wise-webapp/doc/REST Services.md index 4466093b..fa7cf168 100644 --- a/wise-webapp/doc/REST Services.md +++ b/wise-webapp/doc/REST Services.md @@ -25,3 +25,10 @@ Deleting a based on the user id: Changing Password: Template Path: /service/admin/users/{userId}/password * curl "http://{host.name}:{host.port}/{context.path}/service/admin/users/{userId}/password" --request put --basic -u "admin@wisemapping.org:admin" -H "Content-Type:text/plain" --data "" + +Creating a new user: + * Template Path: /service/admin/users/ + * Method: Post + * curl "http://{host.name}:{host.port}/{context.path}/service/admin/users/" --request post --basic -u "admin@wisemapping.org:admin" -H "Content-Type:text/json" --data "{email:"some email", lastname:"last name",fistname="my first name",password:"password"}" + +