diff --git a/examples/server.toit b/examples/server.toit index cf291c3..b53e10f 100644 --- a/examples/server.toit +++ b/examples/server.toit @@ -32,7 +32,7 @@ main: """ else if resource == "/post-json" and request.method == http.POST: decoded := json.decode-stream request.body - print "Received JSON: decoded" + print "Received JSON: $decoded" else if resource == "/json": writer.headers.set "Content-Type" "application/json" writer.out.write