title: Referrer header not found error while calling http requests from node.js
body: <p>I am getting the error <strong>"message": "Referrer header not found</strong> while calling the http request from the node.js server.</p>
  
  <p>The requirement is like, first I need to hit a box which accepts only the ajax requests and then route to the actual service.</p>
  
  <p>Snapshot of the code</p>
  
  <pre><code>var options = {
      url: 'http://' + fullpath,
      qs : params,
      headers : {
          Cookie : "COOKIE=" + my_cookie,
          Origin: 'http://my_url',
          "X-Requested-With": 'XMLHttpRequest'
      },
      encoding : null,
  
  };
  
  
  request.get(options, function (err, response, body) {
  
  }
  </code></pre>
  
  <p>Any thoughts on the above error ?</p>
  
  <p>Thnx</p>