Concept Flow - req.method and req.url
Incoming HTTP Request
Express Server Receives Request
Access req.method
→Check HTTP method type (GET, POST, etc.)
Access req.url
→Get the requested URL path
Use method and url to decide response
Send Response to Client
When Express gets a request, it reads req.method to know the HTTP method and req.url to know the requested path, then uses these to decide how to respond.