git.iko.soy/typeable/servant
on master help sign in
Fix the tutorial app4 curl example

Change the app4 curl example to match the API definition.

commit2191fc815e104979a8abf1beac038c0019c76ce5 authorcsamak <csamak@apache.org> dateMon 17 Dec 2018, 11:11 (8 years ago) parent7bbcfb2
1 file changed+2−2
doc/tutorial/Server.lhs+2−2
doc/tutorial/Server.lhs+2−2
@@ -1128,8 +1128,8 @@ This is the webservice in action:
11281128``` bash
11291129$ curl http://localhost:8081/a
113011301797
1131−$ curl http://localhost:8081/b
1132−"hi"
1131+$ curl http://localhost:8081/b -X GET -d '42.0' -H 'Content-Type: application/json'
1132+true
11331133```
11341134
11351135### An arrow is a reader too.