Cupara
Well-known member
Ok I have this so far, I'm not sure if I need more but before I test, I wanted to make sure I have what I need.
All variables in $requestLink are defined above it and properly set.
PHP:
$requestLink = $region.'wow/realm/status?locale='. $locale .'&apikey=' . $options->xenwow_api_key;
try
{
$results = $this->app->http()->client()->get($requestLink);
}
catch(\GuzzleHttp\Exception\RequestException $e)
{
\XF::logException($e, false, "Error gathering data from $requestLink: ");
}
All variables in $requestLink are defined above it and properly set.