$http GET request to a clojure backend, to get a list of services. I get is an OPTIONS request (???), which gets a 405 response...
<code>
var config = {headers:  {
        'Authorization': 'Bearer d2VudHdvYW5nZV9tZQ',
        "X-Testing" : "testing"
    }
};
$http.get(SERVER.MESSAGE_SERVICES, config)
  .success(function(successCallback) {
    $scope.services = successCallback;
  })
  .error(function(errorCallback) {
    console.log(errorCallback.toString);
  }).
finally(function() {
  console.log("Message services rest call");
});
</code>
**clojure  backend**:
<code>
headers {"Access-Control-Allow-Origin" "*"
         "Access-Control-Allow-Headers" "X-Requested-With, Origin,Content-Type, Accept"
         "Access-Control-Allow-Methods" "GET, POST, OPTIONS"}
</code>
				
                        
There is no problem that AngularJS sends an OPTIONS request, that is because CORS standards force to do so. Be sure that the server is configured to allow a GET method.