Initial import of composer dependencies (--no-dev)

This commit is contained in:
Kijin Sung 2016-01-06 19:21:31 +09:00
parent 71fc952126
commit 546606b208
696 changed files with 54815 additions and 44 deletions

View file

@ -0,0 +1,16 @@
<?php
// First, include Requests
include('../library/Requests.php');
// Next, make sure Requests can load internal classes
Requests::register_autoloader();
// Now let's make a request!
$options = array(
'auth' => array('someuser', 'password')
);
$request = Requests::get('http://httpbin.org/basic-auth/someuser/password', array(), $options);
// Check what we received
var_dump($request);