laravel 8 dingo api code example
Example: laravel dingo api response
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();