title: How to get body parameters in node.js
body: <p>Well I had just started programming in node.js. I am stuck at one place. </p>
  
  <p>I am getting my request parameter like</p>
  
  <pre><code>response: --------------------------e2a4456320b2131c
  
  
  sent
  --------------------------e2a4456320b2131c
  Content-Disposition: form-data; name="is_test"
  
  true
  --------------------------e2a4456320b2131c
  Content-Disposition: form-data; name="success"
  
  true
  --------------------------e2a4456320b2131c--
  </code></pre>
  
  <p>How can i fetch all this params :</p>
  
  <p><strong>is_test</strong> , <strong>success</strong> and etc.</p>
  
  <p>Here is my code :</p>
  
  <pre><code>var express = require('express'),
  bodyParser = require('body-parser');
  
  var app = express();
  
  app.use(bodyParser.json());
  
  exports.helloWorld = functions.https.onRequest((request, response) =&gt; {
                              var body = "";
                              request.on('data', function (data) {
                                                    body += data;
                                                });
                              request.on('end', function() {
                                                  console.log('response: ' + body);
                                              });
                          );
  </code></pre>