The AbstractRestRequest::sendData() method is building the URL for GET requests like so:
$requestUrl = $this->getEndpoint() . '?' . http_build_query($data);
But this URL is used nowhere after this. Instead, the request is using $this->getEndpoint() as the URL.
The
AbstractRestRequest::sendData()
method is building the URL for GET requests like so:$requestUrl = $this->getEndpoint() . '?' . http_build_query($data);
But this URL is used nowhere after this. Instead, the request is using$this->getEndpoint()
as the URL.This:
Should be replaced with: