% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/evolution.R
\name{.evo_post}
\alias{.evo_post}
\title{Perform a JSON POST request (internal)}
\usage{
.evo_post(client, path, body, verbose = FALSE)
}
\arguments{
\item{client}{An \code{evo_client} object.}

\item{path}{Character. Path to append to the base URL.}

\item{body}{List to be JSON-encoded as the request body.}

\item{verbose}{Logical. If \code{TRUE}, prints request/response diagnostics via
\strong{cli}.}
}
\value{
Parsed JSON as list (with raw HTTP status stored in attribute
\code{http_status}).
}
\description{
Sends a JSON POST to the Evolution API and returns the parsed response.
Includes structured CLI logging when \code{verbose = TRUE} and robust error
handling that surfaces the actual API error message.
}
\keyword{internal}
