var request = require("request");

var options = { method: 'POST',
  url: 'http://dlj.bz/api/urlshortener',
  headers: 
   { 'content-type': 'application/json' },
  body: { long_url: 'http://www.sina.com.cn' },
  json: true };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});