Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

expressjs path optional parameters

use the '?' character 
  
/articles/:year?/:month?/:day?
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #expressjs #path #optional #parameters
ADD COMMENT
Topic
Name
1+1 =