public performAutocomplete(wordInput):any {
let headersOptions = {
headers:{
'Accept': 'application/json',
'app_id': 'myid',
"app_key": "mykey"
} as any
}
this.wordTyped = wordInput.toLowerCase() ;
let response = this._http.get('https://od-api.oxforddictionaries.com:443/api/v1/search/en/translations=es?q='+this.wordTyped, headersOptions);
return response;
}
I have experimented with different types of headers requests in order to set up the necessary authentication for the Oxford API, but the only result I am receiving is a 403 forbidden error!