Created
August 27, 2013 19:46
-
-
Save tlovett1/6358163 to your computer and use it in GitHub Desktop.
guzzle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'vendor/autoload.php'; | |
use Guzzle\Http\Client; | |
$client = new Client( 'http://www.pehub.com/feed/' ); | |
$request = $client->get(); | |
$response = $request->send(); | |
$result = $response->getBody(); | |
echo '<pre>'; | |
var_dump( $result ); | |
echo '</pre>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment