Answers for "how to check request type in js"

0

how to check request type in js

app.use('/', (req, res, next) => {
  let requestMethod = req.method;
  console.log(requestMethod);
  res.send('ok');
});
Posted by: Guest on July-11-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language