We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node-mock-server doesn't parse 'application/json' content type request data
node-mock-server/lib/controller/AppController.js
Line 97 in a97d923
The text was updated successfully, but these errors were encountered:
fix: replace bodyParser with express bodyParser #136
546f8cb
Hi @kabaybodia; done with release 0.25.2
Sorry, something went wrong.
No branches or pull requests
node-mock-server doesn't parse 'application/json' content type request data
node-mock-server/lib/controller/AppController.js
Line 97 in a97d923
As a solution might be replacement of: app.use(bodyParser.json());
with: app.use(express.json());
since in the project express version 4.16+ is used (https://medium.com/@mmajdanski/express-body-parser-and-why-may-not-need-it-335803cd048c)
The text was updated successfully, but these errors were encountered: