Thank you. To clarify what you said, I take it that the app.post() method passes req and res values into a function declaration in the 2nd argument.
But when I tried to call the function myself it broke because req and res weren’t defined.
but when I declare the function and reference it, then it works again because the 2nd argument of app.post() receives req and res values based on parameter order.
Is that accurate? I sort of understand function referencing so I just wanted to confirm I’m thinking about this correctly.