const http = require('http');

const hostname = '0.0.0.0';
const port = 3000;

const server = http.createServer((req, res) => {
  res.statusCode = 200;
  res.setHeader('Content-Type', 'application/json');
  var obj = {
      'message': 'Hello world',
      'env': process.env
  };
  res.end(JSON.stringify(obj));
});

server.listen(port, hostname, () => {
  console.log(`Server running at http://${hostname}:${port}/`);
});
@@ -22,16 +22,44 @@
 'http');
+%0Aconst url = require('url');
 %0A%0Aconst 
@@ -155,85 +155,166 @@
 %7B%0A  
-res.statusCode = 200
+  var url_parts = url.parse(req.url, true);%0A    var query = url_parts.query
 ;%0A
+%0A
   
-res.setHeader('Content-Type', 'application/json')
+  var message = (query && query.message) ? query.message : 'Hello World'
 ;%0A  
+ 
+ 
 var 
@@ -327,16 +327,18 @@
 %7B%0A      
+  
 'message
@@ -344,23 +344,19 @@
 e': 
-'Hello world',%0A
+message,%0A  
     
@@ -380,13 +380,99 @@
 env%0A
+  
   %7D;%0A
+%0A    res.statusCode = 200;%0A    res.setHeader('Content-Type', 'application/json');%0A  
   re
@@ -542,16 +542,18 @@
 () =%3E %7B%0A
+  
   consol

Add echo message