Ejemplo: respuesta api de laravel dingo
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();
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)