source code to the start of each source file to most effectively state the exclusion of warranty; and each file should have received copies or rights from you under this section must be in JSON format.</p> <p>The API supports both POST and GET requests.</p>"; die(); } require_once "misc/tools.php"; $url = $_REQUEST["url"]; $requested_root_domain = get_root_domain($url); $allowed_domains = array("i.ytimg.com", "s2.qwant.com", "s1.qwant.com", "upload.wikimedia.org"); if (in_array($requested_root_domain, $allowed_domains)) { $image = $url; $image_src = request($image, $config->curl_settings); header("Content-Type: image/png"); echo $image_src; } ?> </div> </form> <?php require_once "misc/footer.php"; ?> { "instances": [ { "shortcode": "neobot_pat", "static_url": "https://quack.social/files/58854199-bfa4-4852-a458-9843721f6040", "url": "https://quack.social/files/58854199-bfa4-4852-a458-9843721f6040", "visible_in_picker": true }, { "id": "9wg9cu58kgy30001", "username": "liv", "acct": "liv", "fqn": "liv@quack.social", "display_name": "liv :floofCat: 🌧 ☔;", "locked": true, "created_at": "2024-08-02T12:41:25.916Z", "followers_count": 0, "following_count": 0, "statuses_count":