HighSpeaker/.history/test_20221224202816.php

11 lines
375 B
PHP
Raw Permalink Normal View History

2022-12-24 19:40:40 +05:30
<?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\RequestException;
use GeoIp2\Database\Reader;
$whois = Http::get('https://api.devopsclub.cn/api/whoisquery?type=json&standard=true', ['domain' => "$content"]);
print_r($whois);
?>