nodejs – TypeError: res.statusCode is not a function

There are obviously duplicate questions but the answers didn’t help me. Either there is something fundamental that I just don’t understand yet as a beginner in nodeJS and Express or something weird is happening. I have two Express routes, the first one works perfectly fine. But as soon as I started working on the second… Read More nodejs – TypeError: res.statusCode is not a function