HttpRequest with parsing and response helpers; you will read buffered form data and finish requests with the correct response type.
Read request data
Callrequest.form() to access a FormRequest. Use input(), all(), body(), file(), files(), or the synchronous query getter. The parser supports JSON, URL-encoded forms, and multipart form data.
lib/src/http/routes/web.dart
UploadedFile also exposes bytes, string, length, extension, isAudio, and isVideo. You can save privately, stream to a response with range handling, or upload through the configured S3 client.
Write responses
request.notFound(), request.unAuthenticated(), or request.unAuthorized() for the built-in HTML error views. Redirect helpers include redirect(), redirectBack(), redirectToLogin(), and redirectToDashboard().