From 78b2de74cc024f9192c3195190de714c89ce0037 Mon Sep 17 00:00:00 2001 From: Aditya Kotamraju Date: Mon, 21 Jan 2019 00:29:11 +0530 Subject: [PATCH] updated as per latest Express syntax --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 14c7429..faff7c7 100644 --- a/server.js +++ b/server.js @@ -2,7 +2,7 @@ const express = require('express'); const bodyParser = require('body-parser'); const app = express(); -app.use(bodyParser.urlencoded({extended: true})); +app.use(express.json()); app.get('/', (req, res) => { res.send('Hello from App Engine!');