This commit is contained in:
2026-06-07 21:22:22 +07:00
parent a70150e088
commit bde929158b
12 changed files with 328 additions and 96 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
header('Content-Type: application/json');
$raw = file_get_contents("php://input");
echo json_encode([
"raw_input" => $raw,
"json_decoded" => json_decode($raw, true),
"json_error" => json_last_error_msg(),
"request_method" => $_SERVER['REQUEST_METHOD'],
"content_type" => $_SERVER['CONTENT_TYPE'] ?? 'not set',
]);
?>