HighSpeaker/.history/test_20221224203155.php
2022-12-24 22:10:40 +08:00

12 lines
428 B
PHP

<?php
require_once __DIR__ . '/vendor/autoload.php';
require_once __DIR__ . '/support/bootstrap.php';
use Respect\Validation\Validator as v;
use yzh52521\EasyHttp\Response;
use yzh52521\EasyHttp\Http;
use yzh52521\EasyHttp\RequestException;
use GeoIp2\Database\Reader;
$whois = Http::get('https://api.devopsclub.cn/api/whoisquery?type=json&standard=true', ['domain' => "laysense.com"])->body();
print_r(json_decode($whois));
?>