mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
correction made to arguments structure (#30)
This commit is contained in:
@@ -27,7 +27,7 @@ Users
|
||||
### Create
|
||||
|
||||
```shell
|
||||
micro call users Users.Create '{"user":{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b", "username": "asim", "email": "asim@example.com"}, "password": "password1"}'
|
||||
micro call users Users.Create '{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b", "username": "asim", "email": "asim@example.com", "password": "password1"}'
|
||||
```
|
||||
|
||||
### Read
|
||||
@@ -39,7 +39,7 @@ micro call users Users.Read '{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b"}'
|
||||
### Update
|
||||
|
||||
```shell
|
||||
micro call users Users.Update '{"user":{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b", "username": "asim", "email": "asim+update@example.com"}}'
|
||||
micro call users Users.Update '{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b", "username": "asim", "email": "asim+update@example.com"}'
|
||||
```
|
||||
|
||||
### Update Password
|
||||
|
||||
Reference in New Issue
Block a user