Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
localhost:8080/?name=2017&lname=July
//nodejs v4.2.6 //console.log("Hello, World!"); var http=require('http'); //var dt=require('./myfirstModule'); var url=require('url'); http.createServer(function(req,res){ res.writeHead(200,{'Content-Type':'text/html'}); //res.write(dt.myDateTime()); res.write(req.url); var q=url.parse(req.url,true).query; res.write("Name "+q.name+" "+"Last name "+q.lname); //res.end("\n"+'Hello World!'); res.end(); }).listen(8080);
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
RFID TEST
Compare 2 arrays and fill 1 or 2
JSON parse
fast function to reverse unsigned integer
myfirstmodule.js
Counting digits
problem_name
apply
Union of two sorted arrays
To compare; creating async methods in javascript
stackse - search stackoverflow differently
Please log in to post a comment.