回答編集履歴
1
content-typeに誤りがありました。
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
```php
|
6
6
|
|
7
|
-
header("Content-type: t
|
7
|
+
header("Content-type: application/json; charset=utf-8");
|
8
8
|
|
9
9
|
echo json_encode($array);
|
10
10
|
|