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 = 400
10 json_post.flags = 4194305
12 Content-Type: application/json
15 "greeting": "Hello World
20 var_dump(http_response_code());
24 Status: 400 Bad Request