Created
November 14, 2012 03:51
-
-
Save ttback/4070152 to your computer and use it in GitHub Desktop.
express multiple params
This file contains 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
app.post('/postParams/:message/:description/:id', function(){ | |
console.dir(req.query); | |
}); | |
//nothing happens when trying to query | |
//http://localhost:8080/postParams?message=hello&description=desc&id=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment