Advertisement
xapu

Untitled

Oct 7th, 2017
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const http = require('http')
  2. const port = 3000
  3. http.createServer((req,res)=>{
  4.     console.log(req.headers)
  5.     res.end()
  6. }).listen(port)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement