hi i have managed to generate and receive the
oauth_access_token
oauth_access_token_secret
my question is how do i include it my request header
This is my current header
let headers = new HttpHeaders() ;
headers .set( 'Authorization', 'token ' + this.token )
.set( 'Authorization', 'secret ' + this.secret )
.set( 'Content-Type' , 'application/json' )
.set( 'Accept' , 'application/json', ) ;
i also tried
.set( 'Authorization', 'Bearer ' + this.token )
Using twice Authorization seems wrong but how to use it right
I am using angular5 for an app
Getting error
Failed to load https://xxx.atlassian.net/rest/auth/1/session: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Hi Pascal,
Did you get a solution to this problem ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.