Last week, we understood about HTTP Servers

Jargon from last week
- Domain name/IP
- Port
- Methods
- Plaintext vs JSON vs HTML response
- Status codes
- Body
- Routes
- Express
What we’re learning today
- Headers
- Fetch API in the browser
- Query params, Creating our own HTTP Server (Again). Does simple math (sum server)
- Middlewares
- Create a middleware function that logs each incoming request’s HTTP method, URL, and timestamp to the console
- Count total number of requests
- Commonly used middlewares
- express.json / bodyParser.json
- cors