Monday, March 16, 2015

PluralSight, Part I

List of things mentioned:

Express.js

  • response.send sends JSON if you give it js literals (like an array, or foo:'bar')
  • some deprecation issues, installed body-parser to read in urlencoded params. See here for more info
  • more precisely, req.param is deprecated, and replaced by req.params, req.body, and req.query

No comments:

Post a Comment