From 1042ea6f42328c9f58ff0ae895a2dfb972eff90f Mon Sep 17 00:00:00 2001 From: Lukasz Skotarek Date: Fri, 10 Apr 2020 18:43:02 +0200 Subject: [PATCH] little style fix --- _posts/2020-04-10-til-4.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/_posts/2020-04-10-til-4.md b/_posts/2020-04-10-til-4.md index 522b5ad..11776a1 100644 --- a/_posts/2020-04-10-til-4.md +++ b/_posts/2020-04-10-til-4.md @@ -14,7 +14,12 @@ I had curious _incident_ while working. I was to investigate why our API won't w So, I peeked into the tests and we had test for it. I logged the incoming parameters and Phoenix got an array and worked with it perfectly. So I decided to grab the big guns. Enter curl. -It was quite funny. My first insting was to create url like this: `some.url?param=[value1,value2]` but it didn't work. Phoenix read this as +It was quite funny. My first insting was to create url like this: +``` +some.url?param=[value1,value2] +``` + +but it didn't work. Phoenix read this as ```elixir %{"param" => "[value1,value2]"}