and this is my code to call api :
apiBaseURL= ${environment.baseUrl}
constructor(private http: HttpClient) { }
getTeams() {
let authToken = {
"x-rapidapi-key": "ba0a665d73msh8c54a216ac1d6c5p1f80c4jsn312950ace3e0",
"x-rapidapi-host": "api-football-v1.p.rapidapi.com"
}
const reqHeader = new HttpHeaders({
'Content-Type': 'application/json',
'Authorization': `Bearer ${authToken}`
})
return this.http.get('https://api-football-
v1.p.rapidapi.com/v2/teams/team/33', {headers: reqHeader })
}