diff --git a/backend/express.js b/backend/express.js index d919bfb..4c07713 100644 --- a/backend/express.js +++ b/backend/express.js @@ -134,7 +134,7 @@ app.use('', admin)`; `// Mounting a sub - app` `app.put('/', function(req,res){ res.send('PUT request to a webpage') -})` `// post request to the specified path` +})` `// put request to the specified path` `app.delete('/', function(req,res){ res.send('DELETE request to a webpage') @@ -223,4 +223,4 @@ res.sendFile(file, options, function(err){ app.use(BodyParser.json()) app.use(BodyParser.urlencoded({ extended: true -}))` `// Parses incoming request bodies` \ No newline at end of file +}))` `// Parses incoming request bodies`