title: Node.JS body parser issue
body: <p>I'm attempting to send data from one machine to another in node.js.</p>
  
  <p>I seem to be having some difficulty getting the parser to function correctly.
  Here is my client and server code</p>
  
  <p><strong>Client.JS</strong></p>
  
  <pre><code>var request = require('request');
  
  request.post(
      'http://192.168.1.225:3002',
      { form: { key: 'notyourmother' } },
      function (error, response, body) {
          if (!error &amp;&amp; response.statusCode == 200) {
              console.log(body)
          }
      }
  );
  </code></pre>
  
  <p><strong>Server.JS</strong></p>
  
  <pre><code>var express = require('express');
  var bodyParser = require('body-parser')
  var app = express();
  app.use(bodyParser.json());
  app.post('/', function (req, res) {
    res.send('POST request to the homepage');
  console.log(req.body);
  });
  
  var server = app.listen(3002, function () {
    var host = server.address().address;
    var port = server.address().port;
  
    console.log('Example app listening at http://%s:%s', host, port);
  });
  </code></pre>
  
  <p>When I run both snippets, the console outputs "{}".</p>
  
  <p>What may I be doing incorrect?
  Thank you!</p>