Fix the tutorial app4 curl example

Change the app4 curl example to match the API definition.
This commit is contained in:
csamak 2018-12-17 11:11:41 -08:00 committed by GitHub
parent 7bbcfb21e7
commit 2191fc815e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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