preflight has invalid HTTP status code 401

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

aron gravatar image

Hi all,

I am trying to list the servers on browser/mobile application, however I am getting: " XMLHttpRequest cannot load http://8.43.86.2:8774/v2/165b017bdb3744f6a37e76dc66f747ec/servers (http://8.43.86.2:8774/v2/165b017bdb37...). 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