mailinabox/tools/webfinger.php

10 lines
159 B
PHP
Executable File

<?php
$resource = $_GET['resource'];
header("Content-type: application/json");
echo json_encode(array(
subject => $resource,
), JSON_PRETTY_PRINT);
?>