title: Salesforce RestAPI using PHP Guzzle can authenticate but unable to make query
body: <p>Im using php Guzzle to authenticate to a salesforce sandbox using the script below. The authentication works and I get a token from salesforce, however when i do the next call <code>$response = $client-&gt;request()-&gt;get('services/data/v45.0/sobjects/Account/describe</code></p>
  
  <p>I get an error <code>Missing argument 1 for GuzzleHttp\Client::request() on line 59</code>, which is the request()->get. It seems to fail and im unable to resolve it. If I try it with PostMan api client and workbench and it works without any issue. Thank you for any help in advance.</p>
  
  <pre><code>require 'vendor/autoload.php';
  
  use GuzzleHttp\{Client, RequestOptions};
  
  $apiCredentials = [
      'client_id' =&gt; 'myclientid',
      'client_secret' =&gt; 'myclientsecret',
      'security_token' =&gt; 'mysecuritytoken',
  ];
  $userCredentials = [
      'username' =&gt; 'my@domain.com.sandbox1',
      'password' =&gt; 'mypassword',
  ];
  
  $client = new Client(['base_uri' =&gt; 'https://test.salesforce.com/']);
  try {
      $response = $client-&gt;post('services/oauth2/token', [
          RequestOptions::FORM_PARAMS =&gt; [
              'grant_type' =&gt; 'password',
              'client_id' =&gt; $apiCredentials['client_id'],
              'client_secret' =&gt; $apiCredentials['client_secret'],
              'username' =&gt; $userCredentials['username'],
              'password' =&gt; $userCredentials['password'] . $apiCredentials['security_token'],
          ]
      ]);
  
      $data = json_decode($response-&gt;getBody());
      print_r($data);
      echo '&lt;hr&gt;';
  } catch (\Exception $exception) {;
      echo 'Unable to connect to Salesforce';
  }
  
  
  $hash = hash_hmac(
      'sha256', 
      $data-&gt;id . $data-&gt;issued_at, 
      $apiCredentials['client_secret'], 
      true
  );
  if (base64_encode($hash) !== $data-&gt;signature) {
      echo 'Access token is invalid';
  }
  $accessToken = $data-&gt;access_token; // Valid access token
  
  
  try {
      $response = $client-&gt;request()-&gt;get('services/data/v45.0/sobjects/Account/describe', [
          RequestOptions::HEADERS =&gt; [
              'Authorization' =&gt; 'Bearer ' . $accessToken,
              'X-PrettyPrint' =&gt; 1,
          ],
      ]);
  } catch (\Exception $exception) {
      echo '&lt;hr&gt;Unable to describe Account object&lt;hr&gt;';
  }
  
  
  $accountObject = json_decode($response-&gt;getBody());
  
  print_r($accountObject);
  </code></pre>