Answer the question
In order to leave comments, you need to log in
How to set all getam one parameter?
app.get(' someWay ',
callback);
Answer the question
In order to leave comments, you need to log in
If you are going to catch any get request, then you do not need express at all, http.createServer(function (req, res) { /* any request will get here */ }).listen(80); And express app.get('*', function (req, res) { /* any request will get here */ });
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question