Open
Description
Update the method to this
private function setHttpResponse($relativeUrl, $method, $body = [])
{
if (is_null($method)) {
throw new IsNullException("Empty method not allowed");
}
$this->response = $this->client->{strtolower($method)}(
$this->baseUrl . $relativeUrl,
['json' => $body] // ✅
);
return $this;
}
Metadata
Metadata
Assignees
Labels
No labels