I have a script that is pulling in a json feed (will be attached to a cron job later) which looks like:
$http = new WireHttp();
// Get the contents of a URL
$response = $http->get("feed_url");
if($response !== false) {
$decodedFeed = json_decode($response);
}
Everything there works well...