So I have the following code in my server.js file that I\'m running with node.js. I\'m using express to handle HTTP requests.
app.post(\'/api/destinations\',
You need bodyParser.json as well:
app.use(bodyParser.urlencoded({ extended: true })); app.use(bodyParser.json());