Skip to content

Commit 0669b84

Browse files
committed
content-type
1 parent 9498908 commit 0669b84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jsonblob.php

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ function generateRandomString($length = 10) {
3131
die;
3232
}
3333
http_response_code(200);
34+
header("Content-Type: application/json");
3435
print $result->fetch_row()[0];
3536
} else if ($METHOD=='POST') {
3637
$id = generateRandomString();

0 commit comments

Comments
 (0)