Node.js server that accepts POST requests
The following code shows how to read values from an HTML form. As @pimvdb said you need to use the request.on(‘data’…) to capture the contents of the body. const http = require(‘http’) const server = http.createServer(function(request, response) { console.dir(request.param) if (request.method == ‘POST’) { console.log(‘POST’) var body = ” request.on(‘data’, function(data) { body += data … Read more