Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Response.created() is not returning response body

 
Dario Herrera
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am trying to return a 201 http code with a Response.created() method, but the response body is always empty. ...

URI uri = new URI(uriInfo.getPath() + "/" + appID);
return Response.created(uri).entity(anyEntity).build();
any help?, thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic