10 lines
326 B
PHP
10 lines
326 B
PHP
|
<?php
|
||
|
require_once __DIR__ . '/vendor/autoload.php';
|
||
|
require_once __DIR__ . '/support/bootstrap.php';
|
||
|
use Respect\Validation\Validator as v;
|
||
|
use yzh52521\EasyHttp;
|
||
|
use GeoIp2\Database\Reader;
|
||
|
|
||
|
$whois = Http::get('https://api.devopsclub.cn/api/whoisquery?type=json&standard=true', ['domain' => "$content"]);
|
||
|
print_r($whois);
|
||
|
?>
|