Fix the tutorial app4 curl example
Change the app4 curl example to match the API definition.
This commit is contained in:
parent
7bbcfb21e7
commit
2191fc815e
1 changed files with 2 additions and 2 deletions
|
@ -1128,8 +1128,8 @@ This is the webservice in action:
|
||||||
``` bash
|
``` bash
|
||||||
$ curl http://localhost:8081/a
|
$ curl http://localhost:8081/a
|
||||||
1797
|
1797
|
||||||
$ curl http://localhost:8081/b
|
$ curl http://localhost:8081/b -X GET -d '42.0' -H 'Content-Type: application/json'
|
||||||
"hi"
|
true
|
||||||
```
|
```
|
||||||
|
|
||||||
### An arrow is a reader too.
|
### An arrow is a reader too.
|
||||||
|
|
Loading…
Reference in a new issue