bool isJson() Determine if the request is sending JSON.
FormRequest class FormRequest extends Request
mixed __get(string $key) Get an input element from the request.
string root() Get the root URL for the application.
bool pjax() Determine if the request is the result of an PJAX call.
void flashOnly(array|mixed $keys) Flash only some of the input to the session
bool offsetExists(string $offset) Determine if the given offset exists
array all() Get all of the input and files for the request.
string|array cookie(string $key = null, string|array|null $default = null)
Response response(array $errors) Get the proper failed validation response
Page 5 of 10