Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const http=require("http");
- http.createServer((req,res)=>{
- res.end("Hello from the container\n");
- /*var data="";
- req.on("data",(chunk)=>data+=chunk);
- req.on("end",()=>{
- res.writeHead(200);
- res.end("Got request!");
- });*/
- }).listen(6113);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement