cours/express JS routage.md
Oscar Plaisant 602a41e7f8 update
2024-12-25 22:30:24 +01:00

334 B

up::express JS #s/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')
})