little style fix
This commit is contained in:
parent
9e80cb2793
commit
1042ea6f42
|
|
@ -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.
|
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
|
```elixir
|
||||||
%{"param" => "[value1,value2]"}
|
%{"param" => "[value1,value2]"}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue