mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 02:39:56 +09:00
13 lines
No EOL
325 B
PHP
Executable file
13 lines
No EOL
325 B
PHP
Executable file
<?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!
|
|
$request = Requests::get('http://httpbin.org/get', array('Accept' => 'application/json'));
|
|
|
|
// Check what we received
|
|
var_dump($request); |