On the Timestam Project, a requirement is to have something like this:
app.get('/api/:date?', (req,res) => {
let date = req.params.date;
res.send(date)
})
However, if I have no queries, then why do I need to put the question mark at the end? It seems unnecessary.