title: Getting the url of a Blob just uploaded to Azure storage via PHP
body: <p>I have no problem uploading a blob to Azure via PHP like this:</p>
  
  <pre><code> $blobRestProxy-&gt;createBlockBlob("saskcontainer", $blob_name, $content);
  </code></pre>
  
  <p>but I cannot get the URL of the newly created blob. The api is pretty straight forwad for getting the url </p>
  
  <pre><code> echo $blob-&gt;getUrl()
  </code></pre>
  
  <p>When I list the contents of a container it can get the url of each file no problem like this:</p>
  
  <pre><code>$blob_list = $blobRestProxy-&gt;listBlobs("saskcontainer");
  $blobs = $blob_list-&gt;getBlobs();
  
  foreach($blobs as $blob)
  {
      echo $blob-&gt;getUrl()."&lt;br /&gt;";
  }
  </code></pre>
  
  <p>Great, but I just want one url (of the one uploaded), but the code below doesn't work:</p>
  
  <pre><code>$blob = $blobRestProxy-&gt;getBlob("saskcontainer", $blob_name);
  echo $blob-&gt;getUrl();
  </code></pre>
  
  <p>I get the error: Call to undefined method WindowsAzure\Blob\Models\GetBlobResult::getUrl()</p>
  
  <p>I tried this as well :</p>
  
  <pre><code>$blob = $blobRestProxy-&gt;getUrl("saskcontainer", $blob_name);
  echo $blob;
  </code></pre>
  
  <p>error: Call to undefined method WindowsAzure\Blob\BlobRestProxy::getUrl() 
  libraries:</p>
  
  <pre><code> require_once 'WindowsAzure\WindowsAzure.php';
   use WindowsAzure\Common\ServicesBuilder;
   use WindowsAzure\Common\ServiceException;
  </code></pre>
  
  <p>Thoughts?</p>