REST method dynamic