ソースを参照

content-type

master
Robin Thoni 9年前
コミット
ac4a27135e
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      index.php

+ 1
- 1
index.php ファイルの表示

@@ -33,7 +33,7 @@ function main()
33 33
   else
34 34
     error(501, "Not implemented");
35 35
 }
36
-
36
+header("Content-Type: application/json");
37 37
 check_api_key();
38 38
 main();
39 39
 ?>

読み込み中…
キャンセル
保存