Skip to content

Instantly share code, notes, and snippets.

@ttback
Created November 14, 2012 03:51
Show Gist options
  • Save ttback/4070152 to your computer and use it in GitHub Desktop.
Save ttback/4070152 to your computer and use it in GitHub Desktop.
express multiple params
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