Create a NodeJS HTTP server that:
- runs on your local machine on port 1234
- print to console "Server is listening." when server is ready to receive request
-
returns this dynamic text as response:
Request <request_method> <request_uri> received at <date>
Example:
When accessed at
http://127.0.0.1:1234/toto, your server should reply:
Request GET /toto received at Tue Nov 18 2014 18:42:11 GMT+0100 (CET)
A recent / working NodeJS installation (ex: NodeJS v0.10.*).