From 71158120478b140b23f095aad456e27d199cd02a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogumi=C5=82=20Kami=C5=84ski?= Date: Mon, 14 Mar 2022 19:25:38 +0100 Subject: [PATCH] add one line in the examples --- ch14.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ch14.jl b/ch14.jl index 910fd81..14eb1a8 100644 --- a/ch14.jl +++ b/ch14.jl @@ -111,6 +111,8 @@ req = HTTP.post("http://127.0.0.1:8000", JSON3.write((K=55.0, max_time=0.25))) JSON3.read(req.body) +JSON3.write((K=55.0, max_time=0.25)) + HTTP.post("http://127.0.0.1:8000", ["Content-Type" => "application/json"], JSON3.write((K="", max_time=0.25)))