cours/express JS routage.md
Oscar Plaisant 3a5cad8e48 update
2024-12-17 18:49:14 +01:00

332 B

up::express JS #informatique/langage/javascript

app.get('/about', function (req, res) {
    res.send('about');
}) 

app.get('/random.text', function (req, res) {
    res.send('random.text')
})

// CE chemin de rougate fait correspondre acd et abcd ?
app.get ('/ab?cd', function(req, res) {
    res.send('ab?cd')
})