req_body_json: Extract the request body from a JSON request

View source: R/http_helpers.R

req_body_jsonR Documentation

Extract the request body from a JSON request

Description

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

The R object representation of the body's JSON content


tower documentation built on Oct. 30, 2024, 9:28 a.m.