Initial commit

This commit is contained in:
Kwesi Banson Jnr
2026-04-08 05:53:02 +00:00
commit 592a161ee6
63 changed files with 4105 additions and 0 deletions

17
check.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
if(strcasecmp($_SERVER['REQUEST_METHOD'], 'POST') != 0){
http_response_code(400);
echo json_encode(["status" => "fail", "message" => "Request method must be POST"]);
exit();
}
$contentType = isset($_SERVER["CONTENT_TYPE"]) ? trim($_SERVER["CONTENT_TYPE"]) : '';
if(strcasecmp($contentType, 'application/json') != 0){
http_response_code(400);
echo json_encode(["status" => "fail", "message" => "Content type must be: application/json"]);
exit();
}
?>