zlibproxy/.history/test_20230101222616.php

11 lines
295 B
PHP
Raw Normal View History

2023-01-02 19:56:44 +08:00
<?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'));