This page is served by a Node.js server using ONLY the built-in http module. No Express, no frameworks.
Here's what the server sees from req object:
| Property | Value | How to Access |
|---|---|---|
| Your IP Address | 10.1.38.156 | req.headers['x-forwarded-for'] or req.connection.remoteAddress |
| Request Method | GET | req.method |
| Request URL | /demo | req.url |
| User Agent | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) | req.headers['user-agent'] |
| Accept-Language | not sent | req.headers['accept-language'] |
| Host Header | cse135.site:3001 | req.headers['host'] |
Access via url.parse(req.url, true).query
No query parameters. Try adding ?name=YourName&course=CSE135 to the URL!
Access via req.headers object:
Check your browser's Developer Tools (Network tab) to see these custom headers we set:
X-Powered-By: Raw Node.js http module (no Express!)X-Server-Time: 2026-02-04T06:14:36.158ZX-CSE135-Demo: Module 02 - HTTP ServerThis server is approximately 200 lines of code. View the source: live-demo.js