diff --git a/src/index.js b/src/index.js index 1913478..ad6fa86 100644 --- a/src/index.js +++ b/src/index.js @@ -26,7 +26,7 @@ const createTestServer = opts => createCert(opts && opts.certificate) app.set('etag', false); app.use(bodyParser.json({ type: 'application/json' })); app.use(bodyParser.text({ type: 'text/plain' })); - app.use(bodyParser.urlencoded({ type: 'application/x-www-form-urlencoded' })); + app.use(bodyParser.urlencoded({ type: 'application/x-www-form-urlencoded', extended: true })); app.use(bodyParser.raw({ type: 'application/octet-stream' })); app.caCert = keys.caCert;