title: How to register a device through node.js Bluemix push API
body: <p>We are developing a mobile application. First, we put the registration option in mobile (Bluemix js Push API). But, for a security reason, we moved all (register device, push devicebyid,tag ..) options to node.js server. I use the node.js Bluemix Push API, but I didn't find a register device option there.</p>
  
  <p>I installed:</p>
  
  <pre><code>npm install ibmbluemix
  npm install ibmpush
  </code></pre>
  
  <p>I wrote the following function on the server side:</p>
  
  <pre><code>ibmpush.pushNotificationAll(JSON.parse(req.body),function(response){
           res.send(response);
       });
  
    ibmpush.pushNotificationDeviceIds(JSON.parse(req.body),function(response){
           res.send(response);
       });
  
   ibmpush.pushNotificationAll(JSON.parse(req.body),function(response){
           console.log("push sent successfully",response);
           res.send(response);
       });
  </code></pre>
  
  <p>Please help me register a device through the node.js Push API.</p>