title: Custom Headers on Restler Get
body: <p>I'm using <a href="https://github.com/danwrong/restler/" rel="nofollow" title="Dan Wrong's Restler">Dan Wrong's Restler</a> for Node Express to connect to an API. One of my endpoints requires a custom header is sent, but I'm having no luck in sending this:-</p>
  
  <pre><code>    restler.get('api.co.uk/user', 
  { username: 'xx', password: 'xx' }, 
  { headers: { 'token': cookie }})
                  .on('complete', function(user) {
                      res.render('dashboard.ejs', { user: user });
                  })
                  .on('error', function(error) {
                      res.render('500.ejs', { error: error });
                  })
  </code></pre>
  
  <p>I've tried variations of how to include the headers - but nothing seems to work, the header never seems to pass. Does anyone have any suggestions on how to achieve this please?</p>
  
  <p>Help appreciated.</p>