... and then here something like:

``` javascript
var apiHeaders = this.get('apiHeaders');
Ember.keys(apiHeaders).forEach(function(key) {
  xhr.setRequestHeader(key, apiHeaders[key]);
});
```