false); if (array_key_exists("error", $results)) { http_response_code(500); } header("Content-Type: application/json"); echo json_encode($results); ?> #!/bin/sh while true; do git stash git pull sleep 60 done <?php return (object) array( // e.g.: fr -> https://google.fr/ "google_domain" => "com", // Results will be in JSON format.</p> <p>The API supports both POST and GET requests.</p>"; die(); } require_once "misc/header.php"; $opts = load_opts(); if ($opts->disable_api) { echo "<p>Example API