From 2191fc815e104979a8abf1beac038c0019c76ce5 Mon Sep 17 00:00:00 2001 From: csamak Date: Mon, 17 Dec 2018 11:11:41 -0800 Subject: [PATCH] Fix the tutorial app4 curl example Change the app4 curl example to match the API definition. --- doc/tutorial/Server.lhs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tutorial/Server.lhs b/doc/tutorial/Server.lhs index a0b9b875..aa8023aa 100644 --- a/doc/tutorial/Server.lhs +++ b/doc/tutorial/Server.lhs @@ -1128,8 +1128,8 @@ This is the webservice in action: ``` bash $ curl http://localhost:8081/a 1797 -$ curl http://localhost:8081/b -"hi" +$ curl http://localhost:8081/b -X GET -d '42.0' -H 'Content-Type: application/json' +true ``` ### An arrow is a reader too.