chore: add usage block in web example
This commit is contained in:
parent
26bb849ede
commit
829fecb7aa
1 changed files with 14 additions and 0 deletions
|
@ -45,3 +45,17 @@ cargo make dev
|
|||
```
|
||||
|
||||
[cargo make]: https://github.com/sagiegurari/cargo-make
|
||||
|
||||
## Usage
|
||||
|
||||
Create new list
|
||||
|
||||
```sh
|
||||
xh http://localhost:32444/api/lists/ name=hello
|
||||
```
|
||||
|
||||
Get list
|
||||
|
||||
```sh
|
||||
xh http://localhost:32444/api/lists/1
|
||||
```
|
||||
|
|
Reference in a new issue