Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express js

var express = require('express');
var app = express(); 
var PORT = 3000;
  
app.get('/profile', function (req, res) {
  console.log(req.query.name);
  res.send();
});
  
app.listen(PORT, function(err){
    if (err) console.log(err);
    console.log("Server listening on PORT", PORT);
});
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #express #js
ADD COMMENT
Topic
Name
3+7 =