<?php
include('./curl.wrapper.php');
$curl = new CCurlWrapper();
if($curl->InitEx() === false)
die('Unable to init the CURL library' . "\n");
// unless this option is set, the request return an HTML page
$curl->SetJSON();
$json_content = $curl->Exec('http://www.bata.fr/web/store-detail/69640');
$json = json_decode($json_content);
var_dump($json);
?>
|