pluck_body {webmockr}R Documentation

Extract the body from an HTTP request

Description

Returns an appropriate representation of the data contained within a request body based on its encoding.

Usage

pluck_body(x)

Arguments

x

an unexecuted crul, httr or httr2 request object

Value

one of the following:


[Package webmockr version 1.0.0 Index]