post_title: 'Today I Learned #4: Passing array/list parameters to Phoenix controller'
author: dreat
layout: post
published: true
post_date: 2020-04-10 20:00:00
tags: [til, elixir, phoenix]
categories: [til, new_blog]
---
Hello!
I had curious _incident_ while working. I was to investigate why our API won't work when passed array as url parameter for GET request.
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.