I once had a conflict with a person(a friend) that was doing something incorrectly and it was obvious to everybody around them. I tried to tell them that but they didn't like the truth and tried to blame me for my honesty, even though we were supposed to be honest with each other. Nothing major happened after that, we just talked it over and solved the conflict without letting it get out of hand.
Middlewares in Javascript are functions that come in the middle of the request-response cycle. They have access to both the request and the response object as well as the next middleware function to be executed; usually called next(). Popular examples on middleware include: body-parser, cors, session, cookie-seesion and cookie-parser.
Comments
Post a Comment