mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-23 15:51:24 +00:00
correction made to arguments structure (#30)
This commit is contained in:
@@ -27,7 +27,7 @@ Users
|
|||||||
### Create
|
### Create
|
||||||
|
|
||||||
```shell
|
```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
|
### Read
|
||||||
@@ -39,7 +39,7 @@ micro call users Users.Read '{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b"}'
|
|||||||
### Update
|
### Update
|
||||||
|
|
||||||
```shell
|
```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
|
### Update Password
|
||||||
|
|||||||
Reference in New Issue
Block a user