You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
366 B
21 lines
366 B
10 months ago
|
<?php
|
||
|
|
||
|
use Volc\Service\Cdn;
|
||
|
|
||
|
require('../../vendor/autoload.php');
|
||
|
require_once "init.php";
|
||
|
|
||
|
$client = Cdn::getInstance();
|
||
|
|
||
|
$config = new Config();
|
||
|
$client->setAccessKey($config->ak);
|
||
|
$client->setSecretKey($config->sk);
|
||
|
|
||
|
$body = [
|
||
|
'Metric' => 'status_5xx',
|
||
|
'Item' => 'domain',
|
||
|
];
|
||
|
|
||
|
$response = $client->describeEdgeTopStatusCode($body);
|
||
|
var_dump($response);
|