Updates API-Users.md

Auto commit by GitBook Editor
kolaente 2018-01-26 14:51:36 +01:00
parent b694a14035
commit f96e693f0c

@ -95,7 +95,7 @@ _Request:_
curl \
-H 'Authorization: Bearer <YOUR TOKEN HERE>' \
-X PUT \
-d user='{"name": "Noom"}' \
-d user='{"name": "Noom", "username": "user24", "password": "1234"}' \
http://localhost:8082/api/v1/users
```
@ -106,7 +106,7 @@ _Response:_
"id": 26,
"name": "Noom",
"username": "user24",
"password": "$2a$14$u3adRPIhQ5RcYu6CiEgrSOMIi1Bp8KlG5Tz/J7Lx0xMTfX2rlVEXu",
"password": "",
"email": "",
"isAdmin": false,
"created": 1516974531,