Learn R Programming

evolution (version 0.0.1)

.evo_post: Perform a JSON POST request (internal)

Description

Perform a JSON POST request (internal)

Usage

.evo_post(client, path, body, verbose = FALSE)

Value

Parsed JSON as list (with raw HTTP status stored in attribute http_status).

Arguments

client

An evo_client object.

path

Character. Path to append to the base URL.

body

List to be JSON-encoded as the request body.

verbose

Logical. If TRUE, print request/response debug via cli + httr2::req_verbose().