title: Setting AJAX headers in Breeze
body: <blockquote>
    <p>How do I set headers before letting breeze make a request? </p>
    
    <p>Example: my service expects a certain key to be part of the request in
    a header name 'x-service-key'. Till now, I was using jquery ajax and
    amplify, so pretty easy to set up the header. Since I don't have any
    control over the request that breeze is making, how do I pass extra
    stuff like headers? </p>
  </blockquote>
  
  <p>This question was posted by sujesharukil on our IdeaBlade forums. I am reposting the question and answer here since I think it will be useful to the Breeze Stack Overflow community.</p>