We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b12aa2a commit 3af0a84Copy full SHA for 3af0a84
ost_wbs/index.php
@@ -25,8 +25,11 @@ class OSTicketAPI
25
{
26
public static function open($request)
27
28
+
29
// Header
- $key = array("apikey" => getallheaders()["Apikey"]);
30
+ $headers = array_change_key_case(getallheaders(), CASE_LOWER);
31
+ $key = array("apikey" => $headers["apikey"]);
32
33
// Body
34
$requestBody = json_decode(file_get_contents('php://input'), true);
35
0 commit comments