I don't understant why, and I don't find the answer anywhere.
I have this issue when i want use params in http request.
identificationClientMAil(phone: string, mail: string) : Observable <any>{
let params = new HttpParams().append('phone', phone).append('mail', mail);
return this.http.get('http://localhost:8000/Programme/extranet-api/public', { headers: this.headers, params: params })
.map(res => res.json())
.catch(err => {
throw 'error in source. Details: ' + err;
});
}
And my url look like this after:
Where is my problem ?