fixed typo

submitHam was using incorrect endpoint.