Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Response.created() is not returning response body  RSS feed

 
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
Boost this thread!