app.use(
express.text({type: 'text/xml'}),
express.json({type: 'application/json'}),
other middlewares...) ```
Заголовки метода записи: {connection: 'keep-alive', 'content-length': '1082', 'content-encoding': 'gzip', 'content-type': 'text / xml, accept: ' / ', 'accept-encoding': 'gzip', origin: 'chrome -extension: // sx wwwwagimdiliamlcqswqsw', 'accept-language': 'fr -FR, fr; q = 0,9, en-US; q = 0,8, en; q = 0,7 '}
Also I have tried express.raw with a wildcard for the type, but the response
is always 400.
```express.raw({type:'*/*', inflate:true}), (req, res, next)=>{console.log(req.body); next() },```