Changed form to use actual endpoint URL