Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyNodeJShttp server basicsSingle-choice MCQ

In a raw Node http server, where do you read the request URL path and method?

const http = require('http'); http.createServer((req, res) => { console.log(req.____, req.____); res.end('ok'); }).listen(3000);