Open aonnen opened 4 years ago
Hi all,
It would be great to add headers in the http request i need to add Authorization field
https://github.com/orizens/ngx-typeahead/blob/master/src/modules/ngx-typeahead.component.ts line 260
request(query: string) { const url = this.taUrl; const searchConfig = createParamsForQuery( query, this.taQueryParam, this.taParams ); const options = { params: searchConfig **headers: this.taHeaders** };
Antoine
Hi all,
It would be great to add headers in the http request i need to add Authorization field
https://github.com/orizens/ngx-typeahead/blob/master/src/modules/ngx-typeahead.component.ts line 260
Antoine