I'm trying to develop an application to get the Pivotal Tracker stories. First of all I need to do basic authentication to get my Pivotal Tracker token.
Using PHP cURL, I'm doing like this,
curl -X GET --user vader:bad_word "https://www.pivotaltracker.com/services/v5/me"
I want this to be done with Angular. I have tried,
$http.defaults.headers.common['Authorization'] = 'Basic ' + login + ':' + password);
but it shows,
Request header field Authorization is not allowed by Access-Control-Allow-Headers.
any suggestions to get done?
Thanks in advance. :)