fullstack-demo
fullstack-demo copied to clipboard
Request header field Authorization is not allowed by Access-Control-Allow-Headers
I encounter such errors when request resources from other site.
XMLHttpRequest cannot load http://hp8:8080/rest/test. Request header field Authorization is not allowed by Access-Control-Allow-Headers.
Does it need any settings in express server?
Thanks, James.
I have resolved this, add the authorization header in the server side.