getting json post from express

With express 4.6, it comes with its json parser. We don't need to use body parser. All we need to do is setup this in our middleware and we're good to go.







Comments

Popular posts from this blog

Windows SSH: Permissions for 'private-key' are too open

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20