My client posted data from one website to my website using npm request module.
ie as follows.
       testservice : function(req , res){
       var data = { title : 'my title' , content : 'my content'};
       request.post('https://dev.example.com/test' , data , function(err , response ,body){
        if (err) console.log(err);
        if(response) console.log('statuscode='+response.statuscode);
       });
       };
I tried to get the JSON data posted to my site from my client's site using request get method , but i didnt get json data output.
Please help me out to get JSON data which is posted using request post method. Thanks.
 
     
     
    