Change cancelAppointments endpoint to accept POST requests