
Kate Rezentes
@RezKate
Followers
92
Following
47
Media
0
Statuses
18
Elixir Software Engineer @strivepharmacy
Joined November 2016
@RezKate Yeah that's the purpose of the Phoenix.Param protocol: to convert your data to a String param for a URL. So you can make it safe to pass a date to your path functions: defimpl Phoenix.Param, for: Date do def to_param(d), do: https://t.co/fDdfrISYC3_iso8601(d) end
1
1
0
TIL: Dates have to be passed to the url as a string not a Date… 4hour lesson #liveview #elixir #programming #params
1
1
3
Me: Talking about using Postman. @mikirez: I don’t like Postman. I don’t use it. Me: Oh so you use curl? @mikirez: kind of, but I hate curl. Me: What do you use to make POST requests then? @mikirez: @MutableBall
2
0
2