ExpressJS passes a request object for each service, this one has all information
passed into the url, including route variables and query variables. This object
is passed into the JSON Object that is passed into a template, when template is
defined. Giving you full access to it to be used in any way you want on the template.

Example of its implementation:

route definition:

"/api/isbn/:isbn": {

"header":{

"Content-Type":"application/json"

},

"response":{

"data":"./api/isbn.json",

"template":"./api/isbn.template",

"dynamic":true

}

}

file: ./api/isbn.template

{

"book":{

"isbn":"{{request.params.isbn}}",

"title":"{{book.title}}"

}

}

Making a call to http://localhost:3000/api/isbn/SOME-ISBN-NUMBER its output
could look like: