tkyaji / cordova-plugin-crypt-file

This plugin to encrypt the source files.
Apache License 2.0
178 stars 116 forks source link

Response for preflight has invalid HTTP status code 405 #19

Closed snt4all closed 7 years ago

snt4all commented 8 years ago

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

What will be the cause...Please Help....Thank You