Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const http = require('http')
- const port = 3000
- http.createServer((req,res)=>{
- console.log(req.headers)
- res.end()
- }).listen(port)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement