Hi, I am making very simlple GET request which requires Basic HTTP Authentication. So following angular tutorials, I created custom header and interceptor to clone request object into new one, add header and forward new object. Problem.
1. When I tested same, and look at debugger, new header "authorization" is seen in "Access Control Headers" instead of "Request Headers" and I get preflight response error. Server I make request to, I do not have control on it and it seems authentication is enabled, because I can hit it with browser rest clients (resteasy, postman) with basic auth settings. 2. Then, I tried very similar rest client (on my home computer, just to test) except server url is different this time and looked at debugger, I see "authorization" header added to request headers along with encrypted password. Can someone explain me or point me to the issues and concepts? Could it be browser differences? I am new to angular and still learning. Also, googling on these issues (CORS, Preflight response etc) always shows me posts mostly in angular. Is this something angular related and you think moving to other client technology may help? -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
