Why req.query.name return undefined? : <p>I tried to get a parameter in my nodeJS server url like this : localhost/?name=Vincent</p>

<p>So, I wrote this code :</p>

<pre><code>var request = require('request');
var http = require('http');
http.createServer(fybctuib (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
console.log(req.query.name)  // or juste req.query
</code></pre>

<p>etc.</p>

<p>And I have undefined in my log when I go on localhost ...
Could you help me, please ? Thank you.</p>
