Kenan Christian Kenan Christian - 1 year ago 123
AngularJS Question

CORS Header Error when using Authorization Header

So this is my current code
enter image description here

When I delete the

from the
the request will be successful, and i get the response. But when I use the
header, it will give me this error.

enter image description here

The server is using
Python Django
and using this libary for CORS Handling

EDIT 1: This is the
server settings

EDIT 2: Add Browser

I use Chrome Version 53.0.2785.143 m (64-bit)

EDIT 3: Postman response

Just got weird response here. When the backend guy tried from his laptop, he got the complete header. like this:
enter image description here
But when i use my laptop, i got this response:
enter image description here

Answer Source

Solved! It's caused by the App Enlight plugin for monitoring. When I remove it, everything works without errors :)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download