Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @POST
- @Consumes(MediaType.APPLICATION_JSON)
- public Response postReport(Report report) {
- reports.add(report);
- return Response.created(URI.create("/" +report.getId())).build();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement