How can I get exact content from BuzzBundle without header or other information
currently I am using ,
$buzz = $this->container->get('buzz');
$response = $buzz->get('http://api.ipify.org?format=json');
echo $response;
and output is,
HTTP/1.1 200 OK Server: Cowboy Connection: close Access-Control-Allow-Origin: * Content-Type: text/plain Date: Thu, 13 Nov 2014 14:51:40 GMT Content-Length: 14 Via: 1.1 vegur {"ip":"54.254.210.209"}
here only {"ip":"111.20.67.90"}
is desired response.
or any other way to do so, with different bundle, or i have to use curl directly in PHP code ?