2 json_post with malformed JSON (https://github.com/m6w6/ext-json_post/issues/3)
5 extension_loaded("json_post") or die("skip need json_post support\n");
6 if (PHP_VERSION_ID < 70000) doe("skip need PHP-7.0+\n");
9 json_post.error_response = 444
12 Content-Type: application/json
15 "greeting": "Hello World
19 http_response_code(400);
21 var_dump(http_response_code());
25 Status: 400 Bad Request