original_string: protected function getAbsoluteUrl($request)
          {
              $request = ltrim($request);
  
              if (strpos($request, 'http') === 0) {
                  return $request;
              }
  
              return $this->apiUrl . $request;
          }
code: protected function getAbsoluteUrl($request)
          {
              $request = ltrim($request);
  
              if (strpos($request, 'http') === 0) {
                  return $request;
              }
  
              return $this->apiUrl . $request;
          }
code_tokens: protected function getAbsoluteUrl ( $ request ) { $ request = ltrim ( $ request ) ; if ( strpos ( $ request , 'http' ) === 0 ) { return $ request ; } return $ this -> apiUrl . $ request ; }
docstring: Checks the given request string and returns the absolute URL to make
  the necessary API call
  
  @param string $request
  
  @return string
docstring_tokens: Checks the given request string and returns the absolute URL to make the necessary API call