The ESP8266WebServer library can process only a HTML-Form POST request of application/x-www-form-urlencoded or mulripart/ content type.
If you want to process POST with application/json content type, you could use a simple web server implemented with WiFiServer.