Last active
December 12, 2018 01:04
-
-
Save pandafulmanda/b98368fce8cc37051ecfa268a99db1cd to your computer and use it in GitHub Desktop.
Quick express body-parser vs built in json middleware example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express') | |
const app = express() | |
app.use(express.json()) | |
app.listen(3000, function () { | |
console.log('Server running') | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment