When executing a cross-domain AJAX POST request, AngularJS first sends an HTTP OPTIONS request. jQuery does the same, and I understand that this is part of the specification. The difference is that if an error occurs with the OPTIONS request (for example, the server does not support it, as is often the case), jQuery will continue and will still make a POST request, where AngularJS just fails and refuses. Is there a way to get it to make a POST request independently?
source share