Supported Character Set

The UTF-8 character set is supported by the services. charset is an optional parameter specified in the Content-type request header. The following interface definition specifies how to specify the charset.


@Path("/")
public interface JSUserMgmtSvc {

}
@Path("/user")
@POST
@Consumes("application/vnd.net.juniper.space.user-management.user+json;version=1;charset=UTF-8")
@Produces("application/vnd.net.juniper.space.user-management.user+json;version=1;charset=UTF-8")
   public User addUserJSONType(UserTO user);