nodejs request returning null body from server for a POST request

I am sending an http post request from node using request (https://github.com/mikeal/request), and I am getting back a null body. The same request getting sent from hurl.it is returning the correct response with the correct body. Another request getting sent from the same nodejs server to the same server is also returning the correct body. What is really infuriating is that this was working last week and is no longer working in nodejs.

My server.js is:

var request = require('request');

request({
        uri: 'insert url here; contains sensitive info',
        method: 'POST',
        body: 'insert body here; contains sensitive info',
        followRedirect: true,
        maxRedirects: 10
        }, function(error, response, body) {
                console.log('body in response is: ' + body);
        });

anyone have any idea how to fix this?

thank you.

I resolved this issue. The server I was posting to was apparently expecting a User Agent in the header that I wasn't sending, was throwing a null exception, and returning null. It has since been fixed.

Thank you.