guzzle
This commit is contained in:
@@ -104,7 +104,7 @@ class Esi {
|
|||||||
//If the access token has expired, we need to do a request for a new access token
|
//If the access token has expired, we need to do a request for a new access token
|
||||||
if($currentTime > $token_expiration) {
|
if($currentTime > $token_expiration) {
|
||||||
//Setup the new guzzle client
|
//Setup the new guzzle client
|
||||||
$guzzle = new GuzzleHttp\Client();
|
$guzzle = new Client();
|
||||||
$response = $client->request('POST', 'https://login.eveonline.com/v2/oauth/token', [
|
$response = $client->request('POST', 'https://login.eveonline.com/v2/oauth/token', [
|
||||||
'Content-Type' => 'application/x-www-form-urlencoded',
|
'Content-Type' => 'application/x-www-form-urlencoded',
|
||||||
'Host' => 'login.eveonline.com',
|
'Host' => 'login.eveonline.com',
|
||||||
|
|||||||
Reference in New Issue
Block a user