Pass the parameter In api Url
mobileTracker(data){
return this.http.get("http://apilayer.net/api/validate? access_key=afa4dd92163c383b3f590d35bd39e9a0&number="+`${data.mobile_number}`+" &country_code="+`${data.counrty_code}`+"&format="+1);
}
return this.http.get("http://apilayer.net/api/validate? access_key=afa4dd92163c383b3f590d35bd39e9a0&number="+`${data.mobile_number}`+" &country_code="+`${data.counrty_code}`+"&format="+1);
}
Comments
Post a Comment