405 Method Not Allowed despite CORS
问题 I am trying to develop a frontend application using Angular. Since I added the authorization header to the HTTP POST and GET requests, I'm getting 405 Method Not Allowed , although I seemingly allow everything on the server side. The debugger in my browser Chrome says it's asking for Access-Control-Request-Method: POST and Access-Control-Request-Headers: authorization , my backend allows both, access-control-allow-methods: GET, POST and access-control-allow-headers: authorization , as well as