Commit 1432f75e84414fefcbb9a2ece4faeaccb373d273

Authored by Cleverson Sacramento
1 parent 1237329c
Exists in master

Ajuste no media type do insert

archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/BookmarkREST.java
... ... @@ -53,7 +53,7 @@ public class BookmarkREST {
53 53 @LoggedIn
54 54 @Transactional
55 55 @ValidatePayload
56   - @Produces("text/plain")
  56 + @Produces("application/json")
57 57 @Consumes("application/json")
58 58 public Response insert(Bookmark entity, @Context UriInfo uriInfo) {
59 59 checkId(entity);
... ...