How do I view the actual raw GET request?
$config = array(
'adapter' => 'Zend\Http\Client\Adapter\Curl',
'curloptions' => array(CURLOPT_FOLLOWLOCATION => true),
);
$client = new Client($this->uri, $config);
$client->setParameterGet(array(
'foo' => 'bar'
));
$response = $client->send($client->getRequest());
echo htmlentities($response->getBody()."<br/>"); // The response is as expected. But I need to see the RAW request so I can debug.
die();