pdupavillon / express-recaptcha

Implementation of google recaptcha v2 & V3 solutions for express.js
MIT License
128 stars 22 forks source link

Is app.use(bodyParser.json()) a real requirement ? #46

Closed sylbal closed 2 years ago

sylbal commented 3 years ago

Hi,

Our implementation seems to be functional without the app.use(bodyParser.json()); line (that we missed by error). Is it a real requirement for most implementations and we have an easy-lucky use case ?

Regards

tpwatson commented 2 years ago

Check your Express version. The Readme file says: Body Parser is only a requirement "If you're using an express version older than 4.16.0"