mirror of
https://github.com/metosin/reitit.git
synced 2026-02-04 19:33:12 +00:00
Fix example README
This commit is contained in:
parent
bfe1151b0a
commit
35ac8eae43
1 changed files with 3 additions and 3 deletions
|
|
@ -11,12 +11,12 @@ To test the endpoints using [httpie](https://httpie.org/):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
http GET :3000/math/plus x==1 y==20
|
http GET :3000/math/plus x==1 y==20
|
||||||
http POST :3000/math/spec/plus x:=1 y:=20
|
http POST :3000/math/plus x:=1 y:=2
|
||||||
|
|
||||||
http GET :3000/swagger.json
|
http GET :3000/async results==1 seed==reitit
|
||||||
```
|
```
|
||||||
|
|
||||||
<img src="https://raw.githubusercontent.com/metosin/reitit/master/examples/ring-swagger/swagger.png" />
|
<img src="https://raw.githubusercontent.com/metosin/reitit/master/examples/http-swagger/swagger.png" />
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue