From 2a18242d08bebd099e5773be5ec8ac587c0237ba Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 27 Jul 2022 18:20:24 +0000 Subject: [PATCH] Probably fixed TETR.IO lookups. --- public/tetrio-user-reverse.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/tetrio-user-reverse.php b/public/tetrio-user-reverse.php index 35968e9..465d2ec 100644 --- a/public/tetrio-user-reverse.php +++ b/public/tetrio-user-reverse.php @@ -18,6 +18,7 @@ curl_setopt_array($curl, [ CURLOPT_POSTFIELDS => json_encode(['query' => (string)filter_input(INPUT_GET, 'q', FILTER_SANITIZE_STRING)]), CURLOPT_HTTPHEADER => [ 'Authorization: Bearer ' . TETRIO_TOKEN, + 'Accept: application/json', 'Content-Type: application/json', ], ]);