Update ApiController.php

Change method name responseWithError because this not exist. The correct name is respondWithError