PHP mengembalikan respons JSON dengan kode status
header('Content-type: application/json');
http_response_code(200);
echo json_encode([
'message' => 'thanks'
]);
Silly Skunk