Parses a request body according to its Content-Type.
Content-Type
Supports JSON, plain/HTML text, and form data (URL-encoded or multipart); anything else is read as raw text. An empty body resolves to null.
null
The incoming request.
The parsed body (object for JSON/form, string for text, or null).
If the body cannot be parsed.
Generated using TypeDoc
Parses a request body according to its
Content-Type.Supports JSON, plain/HTML text, and form data (URL-encoded or multipart); anything else is read as raw text. An empty body resolves to
null.