diff --git a/archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/BookmarkREST.java b/archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/BookmarkREST.java index b32bac7..957099f 100644 --- a/archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/BookmarkREST.java +++ b/archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/BookmarkREST.java @@ -53,7 +53,7 @@ public class BookmarkREST { @LoggedIn @Transactional @ValidatePayload - @Produces("text/plain") + @Produces("application/json") @Consumes("application/json") public Response insert(Bookmark entity, @Context UriInfo uriInfo) { checkId(entity); -- libgit2 0.21.2