Sending votes to API