diff --git a/src/main/java/org/gcube/gcat/rest/Profile.java b/src/main/java/org/gcube/gcat/rest/Profile.java index 6721d7e..920543a 100644 --- a/src/main/java/org/gcube/gcat/rest/Profile.java +++ b/src/main/java/org/gcube/gcat/rest/Profile.java @@ -148,7 +148,7 @@ public class Profile extends BaseREST implements org.gcube.gcat.api.interfaces.P */ @GET @Path("/{" + PROFILE_NAME_PARAMETER + "}") - @Produces(MediaType.APPLICATION_XML) + @Produces({MediaType.MEDIA_TYPE_WILDCARD, GCatConstants.APPLICATION_JSON_CHARSET_UTF_8}) @StatusCodes ({ @ResponseCode ( code = 200, condition = "The profile exists.") })