- sapi_post_entry entry = {NULL, 0, NULL, NULL};
+ sapi_post_entry json_post_entries[] = {
+ { "text/json", sizeof("text/json")-1, sapi_read_standard_form_data, php_json_post_handler },
+ { "application/json", sizeof("application/json")-1, sapi_read_standard_form_data, php_json_post_handler },
+ { NULL, 0, NULL, NULL }
+ };