I\'m trying to perform a post with play.api.libs.ws.WS but I can\'t figure out how to set the params, my code:
Promise promise = WS.url(Play.
for me the best way
WS.url("http://localhost:9001")
.post(Json.toJson(ImmutableMap.of("param1", "foo", "param2", "bar")));
Map from http://docs.guava-libraries.googlecode.com/git-history/release/javadoc/com/google/common/collect/ImmutableMap.html
http://code.google.com/p/guava-libraries/wiki/ImmutableCollectionsExplained