Fix example README

This commit is contained in:
Tommi Reiman 2018-10-21 23:34:25 +03:00
parent bfe1151b0a
commit 35ac8eae43

View file

@ -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