preflight has invalid HTTP status code 401

asked 2016-08-23 23:45:04 -0500

aron gravatar image

Hi all,

I am trying to list the servers on browser/mobile application, however I am getting: " XMLHttpRequest cannot load ( Response for preflight has invalid HTTP status code 401 " I am able to authenticate and list the projects without a problem. I am getting a special token for retrieving servers which includes the tenant name(I can retrieve the servers using cUrl with no issue). The problem only persists, from what I can read it has something to do with CORS ?

extra details: I am building the application using AngularJS through Ionic.

I'd greatly appreciate it if anyone could point me in the right direction.

edit retag flag offensive close merge delete