title: jasper Rest client - uuid not found in session
body: <p>I have to code a PHP front end for my Jasper reports. I could successfully connect to the server, authenticate and view the repositories using the jasper REST calls. However, when I try to access a report, I get the following error in the response body:</p>
  
  <blockquote>
    <p>Report not found (uuid not found in session)</p>
  </blockquote>
  
  <p>The php code is given below:</p>
  
  <pre><code>   $uri = "http://localhost:8080/jasperserver/rest/report/samples/Client_Information_Report?RUN_OUTPUT_FORMAT=html";
  
      //PUT request to run the report
      $response = Httpful\Request::put($uri, $payload)
      -&gt;authenticateWith("jasperadmin", "jasperadmin")
      -&gt;send();
  
      $xml = new SimpleXMLElement($response-&gt;body);
      $uuid = (String)$xml-&gt;uuid; //The uuid is successfully returned
  
      $uri = "http://localhost:8080/jasperserver/rest/report/$uuid?file=report";
      $report = Httpful\Request::get($uri)
                -&gt;authenticateWith("jasperadmin", "jasperadmin")
                -&gt;send();
  </code></pre>
  
  <p>I am able to confirm that a uuid is returned with the first PUT. Is there anything I am missing here? Any help is appreciated.</p>