jeudi 25 mars 2021

Http get Request puts Url behind localhost

Hey Guys Im doing a normal get request with

get_AllData(): Observable<Array<Patient>> {
    console.log(this.patientServerRoot)
    return this.http.get(this.patientServerRoot + "config", {headers: httpOptions}) as Observable<any>;
  }

But it returns localhost + patientServerRoot instead of only the patientServerRoot. What could it be i dont find anything online




Aucun commentaire:

Enregistrer un commentaire