📜  发送json响应php代码示例

📅  最后修改于: 2022-03-11 14:53:45.975000             🧑  作者: Mango

代码示例1
header('Content-Type: application/json; charset=utf-8');
echo json_encode(array(
    "reponse": 200
));