Probably fixed TETR.IO lookups.
This commit is contained in:
parent
62b7a08bc3
commit
2a18242d08
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ curl_setopt_array($curl, [
|
||||||
CURLOPT_POSTFIELDS => json_encode(['query' => (string)filter_input(INPUT_GET, 'q', FILTER_SANITIZE_STRING)]),
|
CURLOPT_POSTFIELDS => json_encode(['query' => (string)filter_input(INPUT_GET, 'q', FILTER_SANITIZE_STRING)]),
|
||||||
CURLOPT_HTTPHEADER => [
|
CURLOPT_HTTPHEADER => [
|
||||||
'Authorization: Bearer ' . TETRIO_TOKEN,
|
'Authorization: Bearer ' . TETRIO_TOKEN,
|
||||||
|
'Accept: application/json',
|
||||||
'Content-Type: application/json',
|
'Content-Type: application/json',
|
||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
|
|
Reference in a new issue