first
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
|
||||
<?php
|
||||
require_once __DIR__ . '/vendor/autoload.php';
|
||||
require_once __DIR__ . '/support/bootstrap.php';
|
||||
use yzh52521\EasyHttp\Response;
|
||||
use yzh52521\EasyHttp\RequestException;
|
||||
use yzh52521\EasyHttp\Http;
|
||||
|
||||
$response = Http::get('https://cn.bing.com/');
|
||||
print_r($response->header('Content-Type')[0]);
|
||||
Reference in New Issue
Block a user