Expand description
Request body parsing.
Supports JSON (application/json) and form-urlencoded
(application/x-www-form-urlencoded) request bodies.
Empty bodies are treated as empty JSON objects.
Enums§
Functions§
- content_
type - Extract content type from headers (just the media type, no parameters).
- parse_
body - Parse request body bytes into a JSON
Valuebased on content type.