Merge pull request #92 from j-delaney/create-user-readme

Update README to explain the UserType option in create-user API
This commit is contained in:
Nick Sullivan
2015-10-10 12:05:38 -07:00
+5 -2
View File
@@ -113,12 +113,15 @@ Example query:
### Create User
Create Users creates a new user account.
Create Users creates a new user account. Allows an optional "UserType"
to be specified which controls how the record is ecrypted. This can have
a value of either "RSA" or "ECC" and if none is provided will default to
"RSA".
Example query:
$ curl --cacert cert/server.crt https://localhost:8080/create-user \
-d '{"Name":"Bill","Password":"Lizard"}'
-d '{"Name":"Bill","Password":"Lizard","UserType":"ECC"}'
{"Status":"ok"}
### Summary