make_verbose_httr_message {salesforcer}R Documentation

Format Verbose Call

Description

Format Verbose Call

Usage

make_verbose_httr_message(
  method,
  url,
  headers = NULL,
  body = NULL,
  auto_unbox = TRUE,
  ...
)

Arguments

method

character; the type of HTTP method invoked (e.g., POST, PUT, DELETE, etc.).

url

character; the URL that the request was sent to

headers

character; the set of header options set on the request

body

character; the body of the request.

auto_unbox

logical, an indicator of whether to parse vectors of of length 1 into a single character string, rather than a list.

...

additional arguments passed on to toJSON.

Value

NULL invisibly, because this function is intended for the side-effect of printing out the details of an HTTP call.

Note

This function is meant to be used internally. Only use when debugging.


[Package salesforcer version 1.0.2 Index]