Node/express - Missing ) After Argument List
new to node... const express = require('express'); const bodyParser= require('body-parser'); const MongoClient = require('mongodb').MongoClient; const app = express(); app.use(b
You have an unnecessary parenthesis in
app.post((baseURL + '/people', ...);
Replace that with
app.post(baseURL + '/people', ...);
or enclose the first parameter with a closing parenthesis.
app.post((baseURL + '/people'), ...);
Post a Comment for "Node/express - Missing ) After Argument List"