XMLHttpRequest cannot load Response for preflight has invalid HTTP status code 404

Hello Thanks for reply

I have check the browser network tab. Its sending Request type OPTION when i add any Authorization header. It should send POST REQUEST. Why its happening & how can i fix that.

I belive if i will be able to send POST request with header my issue will be resolve. What you think?