I\'m trying to POST parameters to Action, and wrote in the routes:
# Home page
GET / controllers.Application.index()
POST /logi
Though an old post, but if anyone new comes to the question. We should not add parameters, when you are using post, also if you did use parameters, it would be GET /login/:name/:password controllers.Application.login(name: String, password: String)
For post, don't add parameters and bind it to a case class inside the controllers and access the variables.