Learn R Programming

tower (version 0.2.0)

req_body_json: Extract the request body from a JSON request

Description

Extracts the request body from a JSON request

Usage

req_body_json(req, ...)

Value

The R object representation of the body's JSON content

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.