create get_rest, post_rest, put_rest & delete_rest methods and replace the old get_rest[...].verb calls