title: how to get response from post in javaws playframework 2.5
body: <p>please help me, i want send json data to some API which use basic auth and i want catch respon from that API. this is my code:</p>
  
  <pre><code>@Inject
  WSClient ws;
  public Result testWS(){
  JsonNode task = Json.newObject()
              .put("id", 123236)
              .put("name", "Task ws")
              .put("done", true);
  
  WSRequest request = ws.url("http://localhost:9000/json/task").setAuth("user", "password", WSAuthScheme.BASIC).post(task);
  return ok(request.tojson);
  </code></pre>
  
  <p>the question is how i get return from ws above and process it to json? because that code still error. i'm use playframework 2.5</p>