I am sending requests through postman to an express generator endpoint but keep getting 404 not found errors.
In the console I see:
GET /test 404 8.507 ms - 1975
But postman shows a 404 error as does navigating there in the browser. Here is my endpoint:
router.get('/test', (req, res, next) => {
res.json({message : 'response sent back'})
});
Does anything stand out as incorrect? I’m using express 4.16.0