title: Get url from response with guzzle is not working
body: <p>This code below:</p>
  
  <pre><code>$url = json_decode($getClient-&gt;getBody()-&gt;getContents());
  dd($url);
  </code></pre>
  
  <p>shows:</p>
  
  <pre><code>{#302 ▼
    +"output": {#304 ▼
      +"url": "https://...▶"
    }
  }
  </code></pre>
  
  <p>I want to store the url in a variable, but with <code>$urlLink = $url['url'];</code> it shows the error:</p>
  
  <pre><code>Cannot use object of type stdClass as array
  </code></pre>
  
  <p>But with <code>$urlLink = $url-&gt;url;</code> shows also an error:</p>
  
  <pre><code>Undefined property: stdClass::$url
  </code></pre>
  
  <p>Do you know why?</p>