version: kamailio 6.1.0-dev1 (x86_64/linux) 75b73d
loadmodule "microhttpd.so" modparam("microhttpd", "listen_addr", "0.0.0.0") modparam("microhttpd", "listen_port", 8364)
event_route[microhttpd:request] { mhttpd_reply("200", "OK", "",""); }
When using "curl -X POST http://127.0.0.1:8364", a response can be obtained. When using "curl -d '{"test":"2", "test2":"1"}' -H "Content-Type: application/json" -X POST http://127.0.0.1:8364" to pass json data, the kamailio process will be blocked.