response.status(200) middleware code example
Example: express middleware status code always 200
wrap your code with event
res.on('finish', () => {
// do some thing here
})
wrap your code with event
res.on('finish', () => {
// do some thing here
})