14 lines
406 B
PHP
14 lines
406 B
PHP
<?php
|
|
header("Content-Type: application/json");
|
|
if (!empty($_SERVER['HTTP_ORIGIN'])) {
|
|
header("Access-Control-Allow-Origin: " . $_SERVER['HTTP_ORIGIN']);
|
|
header("Access-Control-Allow-Credentials: true");
|
|
}
|
|
echo json_encode([
|
|
'id' => 1,
|
|
'username' => 'admin',
|
|
'email' => 'admin@insecure.newploit.com',
|
|
'role' => 'admin',
|
|
'api_key' => 'sk_live_newploit_AKIAIOSFODNN7EXAMPLE',
|
|
]);
|