I am being passed in a json body for a post request, but i'm not sure the best way to map this json body to request params in rails:
{
username: "example-user",
password: "password",
email: "example@gmail.com",
}
and in the controller i wish to acccess params["username"], is this possible? how should i do it?