laravel dingo api response
snippet in php

laravel dingo api response

user9298

return $this->response->noContent();

return $this->response->created($location);

return $this->response->created();

return $this->response->error('This is an error.', 404);

return $this->response->errorNotFound();

return $this->response->errorBadRequest();

return $this->response->errorForbidden();

return $this->response->errorInternal();

return $this->response->errorUnauthorized();