删除 More/t.php
This commit is contained in:
16
More/t.php
16
More/t.php
@@ -1,16 +0,0 @@
|
|||||||
<?php
|
|
||||||
$jwt = file_get_contents("./jwt.txt"); // 你的 JWT
|
|
||||||
|
|
||||||
$options = [
|
|
||||||
'http' => [
|
|
||||||
'header' => "authorization: JWT " . $jwt . "\r\n" .
|
|
||||||
"Content-Type: application/json\r\n",
|
|
||||||
'method' => 'GET', // 或 POST、PUT 等
|
|
||||||
'ignore_errors' => true // 忽略 HTTP 错误码(如 401)
|
|
||||||
]
|
|
||||||
];
|
|
||||||
|
|
||||||
$context = stream_context_create($options);
|
|
||||||
$response = file_get_contents("https://www.007idc.cn/v1/hosts/57431/module/status?type=host", false, $context);
|
|
||||||
echo $response;
|
|
||||||
?>
|
|
||||||
Reference in New Issue
Block a user