1const express=require('express');
2const app=express();
3//accept Post with no midleWare express
4app.post("/register/",function(req,res){
5 var bodyStr = '';
6 req.on("data",function(chunk){
7 bodyStr += chunk.toString();
8 });
9 req.on("end",function(){
10 res.send(bodyStr);
11 });
12
13});