git.iko.soy/typeable/servant
on master help sign in
Merge pull request #1098 from csamak/patch-1

Fix the tutorial app4 curl example

commita3d335b4363ffc973c4d2592e3ad230ce6847e78 authorAlp Mestanogullari <alpmestan@gmail.com> dateWed 19 Dec 2018, 10:40 (8 years ago) parent7bbcfb22191fc8
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.