@GET
    @Path("deleteContact")
    public Response deleteContact(@QueryParam("id") int id) {
        WebResource contactResource =
                client.resource("http://localhost:8080/contact/"+id+"/delete");
        System.out.println("id = [" + id + "]==================================================");
        contactResource.delete();
        return Response.noContent().entity("Contact was deleted!").build();
    }