protected function getAbsoluteUrl($request)
        {
            $request = ltrim($request);

            if (strpos($request, 'http') === 0) {
                return $request;
            }

            return $this->apiUrl . $request;
        }