I\'m trying to implement a REST API with Play 2.0 (Scala) but I\'m getting stuck in POST method. How do I get the payload from Request object? I haven\'t find any documentation
have a look at this article on playlatam
also check this question on google list
for java (with a param names java_name):
String name = request().body().asFormUrlEncoded().get("java_name")[0];
for scala (with a param names scala_name):
def name = request.body.asFormUrlEncoded.get("scala_name")(0)