If I have a post route which an argument:
post /my_post_route/:my_param1, MyController.my_post_handler
How would get the post params from its body?
def my_post_handler(conn, %{"my_param" =>my_param} = params) do
# ??? how to get "params" from its body?
In other words, how does Phoenix distinguish between params in the url and params in the body for POST requests?






















