Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
localhost:8080/?name=2017&lname=July
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
//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);
[
+
]
Show input
edit mode
|
history
|
discussion