title: send Content-Type: application/json post with node.js
body: <p>How can we make a HTTP request like this in NodeJS? Example or module appreciated.</p>
  
  <pre><code>curl https://www.googleapis.com/urlshortener/v1/url \
    -H 'Content-Type: application/json' \
    -d '{"longUrl": "http://www.google.com/"}'
  </code></pre>