Reference
parseForm
Reads `request.formData()` and optionally validates it with a schema-like parser. Pass a schema object with `parse(FormData)` when a route handler or server action should receive typed form data.
Signature
function parseForm(request: Request): Promise<FormData>
function parseForm<T>(request: Request, schema: ParseSchema<T>): Promise<T>