I don't seem to be able to set some common HTTP headers. My rest server doesn't receive the Authorization header as defined below on a simple rest call like DS(resource).findAll(); However the default baseUri works fine.
'''
MYAPP.config(function (DSProvider, DSHttpAdapterProvider) {
DSProvider.defaults.baseUrl = 'http://localhost/rest/apiv1';
angular.extend (DSHttpAdapterProvider.defaults.$httpConfig, {
headers: {
common: {
'Content-Type': 'application/x-www-form-urlencoded',
'Authorization': 'APIKey 4arkm7f048rsbe8130ur85gar3jlpoke',
}
},
timeout: 20000
});
});
'''