Skip to contents

Extracts the request body from a JSON request

Usage

req_body_json(req, ...)

Arguments

req

A request object

...

Additional arguments to pass to fromJSON when parsing the request body. This will only be used the first time the request body is parsed. Subsequent calls will return the cached result.

Value

A list containing the request body