I'm Using Ionic when i call ajax using angular js then This problem is rising "XMLHttpRequest cannot load https://***/Mobile/ut/Locations. Response for preflight has invalid HTTP status code 405"....
After hiting in browser i'm getting these results
Status Code: 200 OK
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
Access-Control-Allow-Origin: *
Cache-Control: no-cache
Content-Length: 32409
Content-Type: application/json
Date: Tue, 21 Jun 2016 06:34:32 GMT
Expires: -1
Pragma: no-cache
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
access-control-allow-headers: Accept, Origin, Content-Type, Authorization
I'm Using Ionic when i call ajax using angular js then This problem is rising "XMLHttpRequest cannot load https://***/Mobile/ut/Locations. Response for preflight has invalid HTTP status code 405"....
After hiting in browser i'm getting these results
What will be the cause...Please Help....Thank You