Created
          November 25, 2015 18:55 
        
      - 
      
- 
        Save 1Marc/640f0f1e7f73ee4cf0c1 to your computer and use it in GitHub Desktop. 
    Express 2 to Express 4.x
  
        
  
    
      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
    
  
  
    
  | Express 2 was used in the course and the current version is 4.x. | |
| you can't just use 'urlencoded' anymore, you have to: | |
| npm install body-parser | |
| and | |
| var bodyParser = require('body-parser'); | |
| app.use(bodyParser.urlencoded({ extended: true })); | |
| rather than | |
| app.use(express.urlencoded()); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment