diff --git a/speech.js b/speech.js index 7e7a4e5f..c2717258 100644 --- a/speech.js +++ b/speech.js @@ -33,7 +33,7 @@ app.use(bodyParser.json()); // 'body parser' for parsing application/json app.use(bodyParser.urlencoded({ extended: true })); // 'body parser' for parsing application/x-www-form-urlencoded app.use((req, res, next) => { // custom logging middleware to log all incoming http requests logger.verbose(`Request on ${req.originalUrl} from ${req.ip}`); - logger.debug('req.body:', req.body); + logger.debug('req.headers:', req.headers); next(); }); diff --git a/testpage.html b/testpage.html index 65dcdb74..ca43ee36 100644 --- a/testpage.html +++ b/testpage.html @@ -5,13 +5,13 @@